From acc8533656b07a2a587d4590eaf7540f3dc1e5ce Mon Sep 17 00:00:00 2001 From: deraadt Date: Tue, 27 Jul 2010 22:58:48 +0000 Subject: [PATCH] more brackets feels good --- sys/dev/acpi/acpi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/dev/acpi/acpi.c b/sys/dev/acpi/acpi.c index 8ab59ebdcf9..14eea0bb103 100644 --- a/sys/dev/acpi/acpi.c +++ b/sys/dev/acpi/acpi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acpi.c,v 1.193 2010/07/27 22:57:48 deraadt Exp $ */ +/* $OpenBSD: acpi.c,v 1.194 2010/07/27 22:58:48 deraadt Exp $ */ /* * Copyright (c) 2005 Thorsten Lockert * Copyright (c) 2005 Jordan Hargrave @@ -1726,8 +1726,8 @@ acpi_enter_sleep_state(struct acpi_softc *sc, int state) for (retries = 1000; retries > 0; retries--) { rega = acpi_read_pmreg(sc, ACPIREG_PM1A_STS, 0); regb = acpi_read_pmreg(sc, ACPIREG_PM1B_STS, 0); - if (rega & ACPI_PM1_WAK_STS || - regb & ACPI_PM1_WAK_STS) + if ((rega & ACPI_PM1_WAK_STS) || + (regb & ACPI_PM1_WAK_STS)) break; DELAY(10); } -- 2.20.1