summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Greenman <dg@FreeBSD.org>1995-06-09 03:29:17 +0000
committerDavid Greenman <dg@FreeBSD.org>1995-06-09 03:29:17 +0000
commit307977af45e6cda4a6d3389cd9cb8122a0560a02 (patch)
treed7a9ae24d946e6dab77939338ef86f3559b3be9d
parent6ea0f35ef9d46a32638c061efe4b4733e05160e4 (diff)
Notes
-rw-r--r--sys/i386/isa/clock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/isa/clock.c b/sys/i386/isa/clock.c
index e1bc372f176f..94aaddd6a65d 100644
--- a/sys/i386/isa/clock.c
+++ b/sys/i386/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 1995/05/30 08:01:23 rgrimes 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 */