summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/acpica/acpi_wakeup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/acpica/acpi_wakeup.c b/sys/amd64/acpica/acpi_wakeup.c
index 2b10978..bd97f77 100644
--- a/sys/amd64/acpica/acpi_wakeup.c
+++ b/sys/amd64/acpica/acpi_wakeup.c
@@ -239,7 +239,7 @@ acpi_sleep_machdep(struct acpi_softc *sc, int state)
if ((status = AcpiEnterSleepState(state)) != AE_OK) {
device_printf(sc->acpi_dev,
"AcpiEnterSleepState failed - %s\n",
- acpi_strerror(status));
+ AcpiFormatException(status));
ret = -1;
goto out;
}
OpenPOWER on IntegriCloud