Fix LP64 glitch which resulted in xntpd attempting pass excessively

large offsets into adjtime().  (bug reported in PR7602).

It's fairly clear that this is not the only lp64 glitch in the code,
but this is a biggie.
This commit is contained in:
sommerfeld 1999-10-09 19:42:46 +00:00
parent 7e72e96529
commit d6bfb9f33e

View File

@ -1,4 +1,4 @@
/* $NetBSD: systime.c,v 1.5 1999/07/03 12:30:31 simonb Exp $ */
/* $NetBSD: systime.c,v 1.6 1999/10/09 19:42:46 sommerfeld Exp $ */
/*
* systime -- routines to fiddle a UNIX clock.
@ -193,7 +193,7 @@ int
adj_systime(now)
l_fp *now;
{
register u_long offset_i, offset_f;
register u_int32 offset_i, offset_f;
register long temp;
register u_long residual;
register int isneg = 0;