summaryrefslogtreecommitdiffstats
path: root/sys/amd64/acpica/acpi_wakeup.c
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>2001-07-21 10:24:37 +0000
committermsmith <msmith@FreeBSD.org>2001-07-21 10:24:37 +0000
commita67f578d2b31873dd3b9906157d4998436a6b327 (patch)
tree1fc3787f42a591447b248bc0c7af5b8d53fd16a7 /sys/amd64/acpica/acpi_wakeup.c
parentbd6df0c72b8ada00c19e59bb38c04b39400a26b4 (diff)
downloadFreeBSD-src-a67f578d2b31873dd3b9906157d4998436a6b327.zip
FreeBSD-src-a67f578d2b31873dd3b9906157d4998436a6b327.tar.gz
Convert from acpi_strerror() to AcpiFormatException()
Fix dangling include of the dear departed acpi_ecreg.h
Diffstat (limited to 'sys/amd64/acpica/acpi_wakeup.c')
-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