aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64/isa/clock.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/amd64/isa/clock.c')
-rw-r--r--sys/amd64/isa/clock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/isa/clock.c b/sys/amd64/isa/clock.c
index e1bc372f176f..bf8b8eff8026 100644
--- a/sys/amd64/isa/clock.c
+++ b/sys/amd64/isa/clock.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)clock.c 7.2 (Berkeley) 5/12/91
- * $Id: clock.c,v 1.33 1995/05/11 07:44:40 bde Exp $
+ * $Id: clock.c,v 1.34.2.1 1995/06/09 03:29:17 davidg Exp $
*/
/*
@@ -453,7 +453,7 @@ inittodr(time_t base)
splx(s);
/* Look if we have a RTC present and the time is valid */
- if (rtcin(RTC_STATUSD) != RTCSD_PWR)
+ if (!(rtcin(RTC_STATUSD) & RTCSD_PWR))
goto wrong_time;
/* wait for time update to complete */