]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
[Bug 1344] ntpd on Windows exits without logging cause.
authorDave Hart <hart@ntp.org>
Fri, 17 Sep 2010 04:20:03 +0000 (04:20 +0000)
committerDave Hart <hart@ntp.org>
Fri, 17 Sep 2010 04:20:03 +0000 (04:20 +0000)
bk: 4c92ec73Uf01NReS3daZFiN3IdCaog

ChangeLog
ports/winnt/ntpd/nt_clockstuff.c

index 590f376b2397014793dbd0dfc741d01c84efa423..7c2e61f46e118929834fab3dfbcda70c4c6e0352 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+---
+
+* [Bug 1344] ntpd on Windows exits without logging cause.
+
 ---
 (4.2.6p3-beta1) 2010/09/11 Released by Harlan Stenn <stenn@ntp.org>
 
index d4a0676482be04207bda10983118acd433049c9f..44448a118b4c1bd027f8e21bc16fcec401c2be2b 100644 (file)
@@ -1228,9 +1228,11 @@ ntp_timestamp_from_counter(
                Now.ll -= InterpTimestamp;
                if (Now.ll > 60 * HECTONANOSECONDS || 
                    Now.ll < -60 * (LONGLONG) HECTONANOSECONDS) {
-                       DPRINTF(1, ("ntp_timestamp_from_counter serial driver system "
-                                   "time %.6fs from current\n",
+                       DPRINTF(1, ("ntp_timestamp_from_counter serial driver system time %.6fs from current\n",
                                    Now.ll / (double)LL_HNS));
+                       msyslog(LOG_ERR,
+                               "ntp_timestamp_from_counter serial driver system time %.6fs from current\n",
+                               Now.ll / (double)LL_HNS);
                        exit(-1);
                }
 #endif