[v9_9] previous commit incomplete

(cherry picked from commit 5255b631b1)
This commit is contained in:
Evan Hunt 2013-11-18 16:00:21 -08:00
parent 6c696e0ede
commit 14122dd06b

View file

@ -547,8 +547,8 @@ debug(const char *format, ...) {
fflush(stdout);
if (debugtiming) {
TIME_NOW(&t);
fprintf(stderr, "%d.%06d: ",
t.seconds, t.nanoseconds / 1000);
fprintf(stderr, "%d.%06d: ", isc_time_seconds(&t),
isc_time_nanoseconds(&t) / 1000);
}
va_start(args, format);
vfprintf(stderr, format, args);