]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
CID 739724: Fix printf arg mismatch in a debug line
authorHarlan Stenn <stenn@ntp.org>
Fri, 2 Aug 2013 10:28:46 +0000 (06:28 -0400)
committerHarlan Stenn <stenn@ntp.org>
Fri, 2 Aug 2013 10:28:46 +0000 (06:28 -0400)
bk: 51fb89deaUnFOmwBFNCQ9H3KBM86NA

ChangeLog
sntp/main.c

index 2a38f0377255124faaf6e2f3f12d3aa0eded718f..6f63132c92b11c0b931958d057842063e4052972 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,4 @@
+* CID 739724: Fix printf arg mismatch in a debug line.
 * [Bug 2425] compile io_handler() in ntp_io.c unconditionally
 * [Bug 2448] Fix checks for configure --with-stack-limit and --with-memlock
   values.
index 844f22f3629922e44b1ea9261ba95840e9f16c80..aee262e79a2f37bf56b96b1879060c4236cdcf33 100644 (file)
@@ -743,7 +743,7 @@ timeout_queries(void)
                }
        }
        // Do we care about didsomething?
-       TRACE(3, ("timeout_queries: didsomething is %d, age is %d\n",
+       TRACE(3, ("timeout_queries: didsomething is %d, age is %ld\n",
                  didsomething, start_cb.tv_sec - start_tv.tv_sec));
        if (start_cb.tv_sec - start_tv.tv_sec > response_timeout) {
                TRACE(3, ("timeout_queries: bail!\n"));