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

bin/dig/dighost.c

index dabf7f832d79679f04b4479eeb0e4e2c71476961..52f81924f0608921433f59b272159c457c375073 100644 (file)
@@ -549,8 +549,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);