]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
[v9_6] previous commit incomplete
authorEvan Hunt <each@isc.org>
Tue, 19 Nov 2013 00:00:32 +0000 (16:00 -0800)
committerEvan Hunt <each@isc.org>
Tue, 19 Nov 2013 00:00:32 +0000 (16:00 -0800)
(cherry picked from commit 5255b631b1e3c80569d10c8d72fd00ac0d1aa481)

bin/dig/dighost.c

index 6e2043cb07f5f875c940f91ada758e934f06d65f..dab4458a1fc6a545a6f2dc9b06e5c5322b70ff0f 100644 (file)
@@ -523,8 +523,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);