ITS#8054 fix etime calculation

Was overlooked in a0cc1d9655
This commit is contained in:
Howard Chu 2020-09-11 23:47:15 +01:00 committed by Quanah Gibson-Mount
parent 9d48bdd03b
commit fdf6ee5059

View file

@ -43,7 +43,7 @@
char timestr[64]; \
(void) gettimeofday( &now, NULL ); \
now.tv_sec -= op->o_time; \
now.tv_usec -= op->o_tincr; \
now.tv_usec -= op->o_tusec; \
if ( now.tv_usec < 0 ) { \
--now.tv_sec; now.tv_usec += 1000000; \
} \