summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2006-12-23 22:46:14 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2006-12-23 22:46:14 +0000
commitfd242dde6301d0eb753df5af59de566d9443857f (patch)
tree981a5db70474112efcbec65f80ebb2cd5be1000d /sys/arch
parent97c37357f0c72a3c958ca7404f16f21f41cdda96 (diff)
do not mix & and || badly
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 2513499c867..05a6deda792 100644
--- a/sys/arch/i386/i386/machdep.c
+++ b/sys/arch/i386/i386/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.372 2006/12/20 17:50:40 gwk Exp $ */
+/* $OpenBSD: machdep.c,v 1.373 2006/12/23 22:46:13 deraadt Exp $ */
/* $NetBSD: machdep.c,v 1.214 1996/11/10 03:16:17 thorpej Exp $ */
/*-
@@ -2457,7 +2457,7 @@ haltsys:
if (acpi_enabled) {
delay(500000);
- if (howto & RB_POWERDOWN || acpi_s5)
+ if ((howto & RB_POWERDOWN) || acpi_s5)
acpi_powerdown();
}
#endif