summaryrefslogtreecommitdiffstats
path: root/sys/pc98/cbus/pcrtc.c
diff options
context:
space:
mode:
authorkato <kato@FreeBSD.org>1998-10-13 03:24:01 +0000
committerkato <kato@FreeBSD.org>1998-10-13 03:24:01 +0000
commitcc59ab7388520252d1e13702e45fd18b8f16576c (patch)
treea7fa7193981d126a87ccfda1ab12e63160c94d1e /sys/pc98/cbus/pcrtc.c
parent3bc4b35da04c346a3981f7d29d14b3193650ad51 (diff)
downloadFreeBSD-src-cc59ab7388520252d1e13702e45fd18b8f16576c.zip
FreeBSD-src-cc59ab7388520252d1e13702e45fd18b8f16576c.tar.gz
Fix for wrap arround.
Diffstat (limited to 'sys/pc98/cbus/pcrtc.c')
-rw-r--r--sys/pc98/cbus/pcrtc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/pc98/cbus/pcrtc.c b/sys/pc98/cbus/pcrtc.c
index c0d3e77..20744f8 100644
--- a/sys/pc98/cbus/pcrtc.c
+++ b/sys/pc98/cbus/pcrtc.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)clock.c 7.2 (Berkeley) 5/12/91
- * $Id: clock.c,v 1.61 1998/09/22 16:12:00 kato Exp $
+ * $Id: clock.c,v 1.62 1998/10/13 02:33:21 kato Exp $
*/
/*
@@ -752,7 +752,7 @@ calibrate_clocks(void)
prev_count = count;
if ((sec == start_sec + 1200) ||
(sec < start_sec &&
- (u_int)sec + 0xffff == (u_int)start_sec + 1200))
+ (u_int)sec + 0x10000 == (u_int)start_sec + 1200))
break;
if (--timeout == 0)
goto fail;
OpenPOWER on IntegriCloud