diff --git a/src/common/timers.c b/src/common/timers.c index 70c92e9b27dae90256f617082626953a5bee5ecb..1e1f5f151d096bdc5c0c7fdfe8d5363d3a0dc77d 100644 --- a/src/common/timers.c +++ b/src/common/timers.c @@ -62,7 +62,7 @@ extern void slurm_diff_tv_str(struct timeval *tv1,struct timeval *tv2, if (from) { if (!limit) limit = 1000000; - if (delta_t){ // > limit) { + if (delta_t > limit) { snprintf(tv_str, len_tv_str, "usec=%ld", delta_t); if (!localtime_r(&tv2->tv_sec, &tm)) fprintf(stderr, "localtime_r() failed\n");