summaryrefslogtreecommitdiffstats
path: root/sys/amd64/acpica/acpi_wakeup.c
diff options
context:
space:
mode:
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 462243a..d232d0a 100644
--- a/sys/amd64/acpica/acpi_wakeup.c
+++ b/sys/amd64/acpica/acpi_wakeup.c
@@ -188,7 +188,7 @@ acpi_sleep_machdep(struct acpi_softc *sc, int state)
int pteobj_allocated = 0;
u_long ef;
- if (sc->acpi_wakeaddr == NULL) {
+ if (sc->acpi_wakeaddr == 0) {
return (0);
}
OpenPOWER on IntegriCloud