summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sbin/atm/ilmid/ilmid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/atm/ilmid/ilmid.c b/sbin/atm/ilmid/ilmid.c
index 0f4960e..324c13e 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++;
}
OpenPOWER on IntegriCloud