[master] previous commit incomplete

This commit is contained in:
Evan Hunt
2013-11-18 15:59:53 -08:00
parent 7959f0f74c
commit 5255b631b1

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);