diff options
author | charnier <charnier@FreeBSD.org> | 2000-03-26 15:08:44 +0000 |
---|---|---|
committer | charnier <charnier@FreeBSD.org> | 2000-03-26 15:08:44 +0000 |
commit | 7493210c173d84463b654b3359a44929bba1cf56 (patch) | |
tree | 6d14dd676b0193cadb6525b1ca5c07c35bb25227 /usr.sbin/pim6dd | |
parent | 42d5955dc9d2c1ebf6deaddb174b4891d86f8996 (diff) | |
download | FreeBSD-src-7493210c173d84463b654b3359a44929bba1cf56.zip FreeBSD-src-7493210c173d84463b654b3359a44929bba1cf56.tar.gz |
1000000 usec -> 1 sec 0 usec; fix.
Diffstat (limited to 'usr.sbin/pim6dd')
-rw-r--r-- | usr.sbin/pim6dd/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/pim6dd/main.c b/usr.sbin/pim6dd/main.c index 7efc30e..54023a9 100644 --- a/usr.sbin/pim6dd/main.c +++ b/usr.sbin/pim6dd/main.c @@ -524,7 +524,7 @@ main(argc, argv) IF_DEBUG(DEBUG_TIMEOUT) log(LOG_DEBUG, 0, "TIMEOUT: secs %d, diff secs %d, diff usecs %d", secs, difftime.tv_sec, difftime.tv_usec ); #endif - while (difftime.tv_usec > 1000000) { + while (difftime.tv_usec >= 1000000) { difftime.tv_sec++; difftime.tv_usec -= 1000000; } |