summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2003-09-22 04:50:29 +0000
committernjl <njl@FreeBSD.org>2003-09-22 04:50:29 +0000
commitd6256ad65a99bc4f38166d4975794840f5f697b6 (patch)
tree918da1ef1f0342b1a3b5e931b17e9caf67eb4fdf /sys/dev/acpica
parent601ceb70ef0e5efa4a377b938e7d1e7c30dbd0e1 (diff)
downloadFreeBSD-src-d6256ad65a99bc4f38166d4975794840f5f697b6.zip
FreeBSD-src-d6256ad65a99bc4f38166d4975794840f5f697b6.tar.gz
Fix the ACPI_DEBUG case.
Reported by: Larry Rosenman <ler@lerctr.org> PR: Submitted by: Reviewed by: Approved by: Obtained from: MFC after:
Diffstat (limited to 'sys/dev/acpica')
-rw-r--r--sys/dev/acpica/acpi_button.c4
1 files changed, 2 insertions, 2 deletions
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);
}
OpenPOWER on IntegriCloud