From d6256ad65a99bc4f38166d4975794840f5f697b6 Mon Sep 17 00:00:00 2001 From: njl Date: Mon, 22 Sep 2003 04:50:29 +0000 Subject: Fix the ACPI_DEBUG case. Reported by: Larry Rosenman PR: Submitted by: Reviewed by: Approved by: Obtained from: MFC after: --- sys/dev/acpica/acpi_button.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/acpica') diff --git a/sys/dev/acpica/acpi_button.c b/sys/dev/acpica/acpi_button.c index de5774a..ab8ba21 100644 --- a/sys/dev/acpica/acpi_button.c +++ b/sys/dev/acpica/acpi_button.c @@ -242,12 +242,12 @@ acpi_button_fixed_handler(void *context) { struct acpi_button_softc *sc = (struct acpi_button_softc *)context; - ACPI_FUNCTION_TRACE((char *)(uintptr_t)__func__); + ACPI_FUNCTION_TRACE_PTR((char *)(uintptr_t)__func__, context); if (context == NULL) return_ACPI_STATUS (AE_BAD_PARAMETER); acpi_button_notify_handler(sc->button_handle, ACPI_NOTIFY_BUTTON_PRESSED_FOR_SLEEP, sc); - return_VALUE (AE_OK); + return_ACPI_STATUS (AE_OK); } -- cgit v1.1