From 854de3d1384f765abade8bcbda37127780f7b538 Mon Sep 17 00:00:00 2001 From: KATO Takenori Date: Tue, 13 Oct 1998 03:24:01 +0000 Subject: Fix for wrap arround. --- sys/pc98/cbus/pcrtc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/pc98/cbus/pcrtc.c') diff --git a/sys/pc98/cbus/pcrtc.c b/sys/pc98/cbus/pcrtc.c index c0d3e777be71..20744f80f8c0 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; -- cgit v1.2.3