[Git][NTPsec/ntpsec][master] Fix a broken printf format.

Eric S. Raymond gitlab at mg.gitlab.com
Mon Dec 14 11:41:56 UTC 2015


Eric S. Raymond pushed to branch master at NTPsec / ntpsec


Commits:
26decff9 by Eric S. Raymond at 2015-12-14T05:58:56Z
Fix a broken printf format.

- - - - -


1 changed file:

- ntpd/ntp_intercept.c


Changes:

=====================================
ntpd/ntp_intercept.c
=====================================
--- a/ntpd/ntp_intercept.c
+++ b/ntpd/ntp_intercept.c
@@ -473,7 +473,7 @@ int intercept_adjtime(const struct timeval *ntv, struct timeval *otv)
 	}
     } else {
 	if (mode == capture)
-	    printf("adjtime %ld %ld %ld %ld",
+	    printf("adjtime %ld %ld %ld %ld\n",
 		   (long)ntv->tv_sec, (long)ntv->tv_usec,
 		   (long)otv->tv_sec, (long)otv->tv_usec);
 



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/26decff964f4a002ab1636903b55029c71a5ae25
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20151214/981c769c/attachment.html>


More information about the vc mailing list