]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
Fix the CLOCK_MONOTONIC TRACE() message
authorHarlan Stenn <stenn@ntp.org>
Wed, 24 Aug 2011 07:50:28 +0000 (03:50 -0400)
committerHarlan Stenn <stenn@ntp.org>
Wed, 24 Aug 2011 07:50:28 +0000 (03:50 -0400)
bk: 4e54ad44gvl50Bk8aFZNLcKwHj3edw

ChangeLog
sntp/main.c

index 601963025eb260dbf0a4631a04fcc47a45491bb2..de0eea3fbc4590ff89516623824f556308f1c0f1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,4 @@
+* Fix the CLOCK_MONOTONIC TRACE() message.
 (4.2.7p207) 2011/08/22 Released by Harlan Stenn <stenn@ntp.org>
 * Restore the original CLOCK_MONOTONIC output format in sntp.
 * Cleanups for ntp-wait-opts.def and ntp.keys.def .
index 25227b73bee6cf2d067683f5bbb3115aae90774d..01ee9e13c5f169587a1a236edd5e7aac2aab24ed 100644 (file)
@@ -729,7 +729,7 @@ void dec_pending_ntp(
                check_exit_conditions();
        } else {
                INSIST(0 == n_pending_ntp);
-               TRACE(1, ("n_pending_ntp reached zero before dec for %s\n",
+               TRACE(1, ("n_pending_ntp was zero before decrement for %s\n",
                          hostnameaddr(name, server)));
        }
 }
@@ -1479,6 +1479,7 @@ gettimeofday_cached(
                                /* older libevent2 using monotonic */
                                timeval_sub(&offset, &systemt, &mono);
                                TRACE(1, ("%s: Offsetting libevent CLOCK_MONOTONIC times  by %+ld.%06ld\n",
+                                        "gettimeofday_cached",
                                         (long)offset.tv_sec, offset.tv_usec));
                        }
                }