summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMarco Peereboom <marco@cvs.openbsd.org>2005-12-16 20:32:21 +0000
committerMarco Peereboom <marco@cvs.openbsd.org>2005-12-16 20:32:21 +0000
commitf16489eaa766dfc3a9b6e773f8927b90495654c6 (patch)
tree85a94995ef8e08584f53f83714999da0d892c507 /sys/arch
parente07901677eeded9d4c07e13884974523bb672eb0 (diff)
Forgot to check a flag to powerdown via acpi.
ok deraadt@ jordan@
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/i386/i386/machdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/i386/machdep.c b/sys/arch/i386/i386/machdep.c
index 4f3226c84ff..71a90277048 100644
--- a/sys/arch/i386/i386/machdep.c
+++ b/sys/arch/i386/i386/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.334 2005/12/16 19:00:30 marco Exp $ */
+/* $OpenBSD: machdep.c,v 1.335 2005/12/16 20:32:20 marco Exp $ */
/* $NetBSD: machdep.c,v 1.214 1996/11/10 03:16:17 thorpej Exp $ */
/*-
@@ -2326,7 +2326,7 @@ haltsys:
#if NACPI > 0
extern int acpi_s5;
- if (acpi_s5)
+ if (howto & RB_POWERDOWN || acpi_s5)
acpi_powerdown();
#endif