Untitled
public text v1 · immutableIndex: corelib/timer.c
===================================================================
--- corelib/timer.c (revision 1398)
+++ corelib/timer.c (working copy)
@@ -83,6 +83,9 @@
"reports a resolution of %ld nanosec. "
"Timing may be unreliable!\n", nano,
res.tv_nsec);
+
+ /* Reset the interval to a sane value */
+ t->interval = (res.tv_nsec / 1000) + 1;
}
}
}