From: Mark Andrews Date: Fri, 25 Oct 2013 01:53:24 +0000 (+1100) Subject: %ld.%06g -> %ld.%06d X-Git-Tag: v9.6-ESV-R11b1~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4733a1d2168bdeb27a91106292747bbdfa58e3dc;p=thirdparty%2Fbind9.git %ld.%06g -> %ld.%06d (cherry picked from commit 7f0e47b3c2e4888ac106c78b0d9d7b4b6bab92bd) --- diff --git a/bin/dig/dighost.c b/bin/dig/dighost.c index 5dcb3f5dc92..18bc2a6fa0b 100644 --- a/bin/dig/dighost.c +++ b/bin/dig/dighost.c @@ -519,7 +519,7 @@ debug(const char *format, ...) { if (debugtiming) { struct timeval tv; (void)gettimeofday(&tv, NULL); - fprintf(stderr, "%ld.%06u: ", (long)tv.tv_sec, + fprintf(stderr, "%ld.%06d: ", (long)tv.tv_sec, tv.tv_usec); } va_start(args, format);