1000000 usec -> 1 sec 0 usec; fix

This commit is contained in:
Philippe Charnier 2000-03-26 15:13:17 +00:00
parent fae643c579
commit f793da754a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=58631

View File

@ -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++;
}