[Git][NTPsec/ntpsec][master] 2 commits: Fix typo
Hal Murray
gitlab at mg.gitlab.com
Mon Jun 20 07:14:22 UTC 2016
Hal Murray pushed to branch master at NTPsec / ntpsec
Commits:
b48c4a93 by Hal Murray at 2016-06-20T00:11:20-07:00
Fix typo
- - - - -
5d6f94dd by Hal Murray at 2016-06-20T00:13:29-07:00
Tweak error message if kernel PLL not supported
- - - - -
2 changed files:
- docs/driver22.txt
- ntpd/ntp_refclock.c
Changes:
=====================================
docs/driver22.txt
=====================================
--- a/docs/driver22.txt
+++ b/docs/driver22.txt
@@ -116,7 +116,7 @@ synchronization without needing the Internet at all.
leading edge will _always_ be used.
+flag3 {0 | 1}+::
Controls the kernel PPS discipline: 0 for disable (default), 1 for
- enable. Not used under Windows - if the special +serialpps.sys<\tt>
+ enable. Not used under Windows - if the special +serialpps.sys+
serial port driver is used then kernel PPS will be available and
used.
+flag4 {0 | 1}+::
=====================================
ntpd/ntp_refclock.c
=====================================
--- a/ntpd/ntp_refclock.c
+++ b/ntpd/ntp_refclock.c
@@ -1152,8 +1152,12 @@ refclock_params(
if (time_pps_kcbind(ap->handle, PPS_KC_HARDPPS,
ap->pps_params.mode & ~PPS_TSFMT_TSPEC,
PPS_TSFMT_TSPEC) < 0) {
- msyslog(LOG_ERR,
- "refclock_params: time_pps_kcbind: %m");
+ if (errno == EOPNOTSUPP)
+ msyslog(LOG_ERR,
+ "refclock_params: kernel PLL (hardpps, RFC 1589) not implemented");
+ else
+ msyslog(LOG_ERR,
+ "refclock_params: time_pps_kcbind: %m");
return false;
}
hardpps_enable = true;
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/compare/ed16e8a1c1c700dd885b2254178b4dd6ee137d98...5d6f94ddc27e1fe1e0b856e0bfd1f7ca9afbdea0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20160620/abcb5ce8/attachment.html>
More information about the vc
mailing list