[Git][NTPsec/ntpsec][master] Fix for "Prevent a warning in an unusual configuration case."

Eric S. Raymond gitlab at mg.gitlab.com
Mon Nov 14 00:51:08 UTC 2016


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


Commits:
4a3a5d0e by Eric S. Raymond at 2016-11-13T19:50:57-05:00
Fix for "Prevent a warning in an unusual configuration case."

A condition was reversed.

- - - - -


1 changed file:

- ntpd/ntp_loopfilter.c


Changes:

=====================================
ntpd/ntp_loopfilter.c
=====================================
--- a/ntpd/ntp_loopfilter.c
+++ b/ntpd/ntp_loopfilter.c
@@ -1276,9 +1276,9 @@ loop_config(
 			rstclock(EVNT_FSET, 0);
 		else
 			rstclock(EVNT_NSET, 0);
-#ifndef HAVE_KERNEL_PLL
+#ifdef HAVE_KERNEL_PLL
 		loop_started = true;
-#endif /* !HAVE_KERNEL_PLL */
+#endif /* HAVE_KERNEL_PLL */
 #endif /* !ENABLE_LOCKCLOCK */
 		break;
 



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/4a3a5d0e5368806db7b6bf3d983856f52d42259a
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20161114/e5bf11d8/attachment.html>


More information about the vc mailing list