[Git][NTPsec/ntpsec][master] Yet another ntpdig warning fix.
Eric S. Raymond
gitlab at mg.gitlab.com
Sat Oct 1 03:44:06 UTC 2016
Eric S. Raymond pushed to branch master at NTPsec / ntpsec
Commits:
873c81c2 by Eric S. Raymond at 2016-09-30T23:43:46-04:00
Yet another ntpdig warning fix.
- - - - -
1 changed file:
- ntpdig/main.c
Changes:
=====================================
ntpdig/main.c
=====================================
--- a/ntpdig/main.c
+++ b/ntpdig/main.c
@@ -1740,7 +1740,7 @@ gettimeofday_cached(
(long)diff.tv_sec, (long)diff.tv_nsec/1000);
if (labs((long)diff.tv_sec) < 3600) {
/* older libevent2 using monotonic */
- offset = sub_tspec(systemt, ts);
+ offset = sub_tspec(systemt, mono);
TRACE(1, ("%s: Offsetting libevent CLOCK_MONOTONIC times by %+ld.%06ld\n",
"gettimeofday_cached",
(long)offset.tv_sec,
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/873c81c29a3619b675a074d3c4eb21b928ede92b
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20161001/e298f371/attachment.html>
More information about the vc
mailing list