From fd242dde6301d0eb753df5af59de566d9443857f Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Sat, 23 Dec 2006 22:46:14 +0000 Subject: do not mix & and || badly --- sys/arch/i386/i386/machdep.c | 4 ++-- 1 file 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 -- cgit v1.2.3