From f793da754abdd9234102c999908aaa6a7641e73b Mon Sep 17 00:00:00 2001 From: Philippe Charnier Date: Sun, 26 Mar 2000 15:13:17 +0000 Subject: [PATCH] 1000000 usec -> 1 sec 0 usec; fix --- sbin/atm/ilmid/ilmid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/atm/ilmid/ilmid.c b/sbin/atm/ilmid/ilmid.c index 0f4960e3b8a7..324c13e36139 100644 --- a/sbin/atm/ilmid/ilmid.c +++ b/sbin/atm/ilmid/ilmid.c @@ -1144,7 +1144,7 @@ get_ticks() /* * Adjust difference timeval */ - if ( timediff.tv_usec > 1000000 ) { + if ( timediff.tv_usec >= 1000000 ) { timediff.tv_usec -= 1000000; timediff.tv_sec++; }