summaryrefslogtreecommitdiffstats
path: root/sys/pc98/cbus/pcrtc.c
diff options
context:
space:
mode:
authornyan <nyan@FreeBSD.org>2000-10-15 04:54:17 +0000
committernyan <nyan@FreeBSD.org>2000-10-15 04:54:17 +0000
commit6df9be0e35b54b58c1514f3c2d88aaf3a62b256e (patch)
treece86369bb07675fa0dcba83eeaec714ce02d6727 /sys/pc98/cbus/pcrtc.c
parent3a05390ac27985a3d69dc03063e56f783e9422d5 (diff)
downloadFreeBSD-src-6df9be0e35b54b58c1514f3c2d88aaf3a62b256e.zip
FreeBSD-src-6df9be0e35b54b58c1514f3c2d88aaf3a62b256e.tar.gz
Fixed warnings.
Diffstat (limited to 'sys/pc98/cbus/pcrtc.c')
-rw-r--r--sys/pc98/cbus/pcrtc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/pc98/cbus/pcrtc.c b/sys/pc98/cbus/pcrtc.c
index 88ec706..90a31e6 100644
--- a/sys/pc98/cbus/pcrtc.c
+++ b/sys/pc98/cbus/pcrtc.c
@@ -1129,6 +1129,8 @@ inittodr(time_t base)
second);
/* sec now contains the number of seconds, since Jan 1 1970,
in the local time zone */
+
+ s = splhigh();
#else /* IBM-PC */
/* Look if we have a RTC present and the time is valid */
if (!(rtcin(RTC_STATUSD) & RTCSD_PWR))
OpenPOWER on IntegriCloud