summaryrefslogtreecommitdiffstats
path: root/contrib/ntp/ntpd
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2012-03-12 01:06:29 +0000
committeremaste <emaste@FreeBSD.org>2012-03-12 01:06:29 +0000
commitba92a7914af6234e5117742852db347066ab4ae0 (patch)
tree257f98d115f84b1c42c131f39ce5782a2d9be676 /contrib/ntp/ntpd
parent0500a4c033906a8e9da0458ed7bc3a4da41bbfff (diff)
downloadFreeBSD-src-ba92a7914af6234e5117742852db347066ab4ae0.zip
FreeBSD-src-ba92a7914af6234e5117742852db347066ab4ae0.tar.gz
Remove extraneous log message
When ntp switched between PLL and FLL mode it produced a log message "kernel time sync status change %04x". This issue is reported in ntp bug 452[1] which claims that this behaviour is normal and the log message isn't necessary. I'm not sure exactly when it was removed, but it's gone in the latest ntp release (4.2.6p5). [1] http://bugs.ntp.org/show_bug.cgi?id=452 Approved by: roberto
Diffstat (limited to 'contrib/ntp/ntpd')
-rw-r--r--contrib/ntp/ntpd/ntp_loopfilter.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/contrib/ntp/ntpd/ntp_loopfilter.c b/contrib/ntp/ntpd/ntp_loopfilter.c
index d0fa466c..600f683 100644
--- a/contrib/ntp/ntpd/ntp_loopfilter.c
+++ b/contrib/ntp/ntpd/ntp_loopfilter.c
@@ -646,12 +646,6 @@ local_clock(
msyslog(LOG_NOTICE,
"kernel time sync error %04x", ntv.status);
ntv.status &= ~(STA_PPSFREQ | STA_PPSTIME);
- } else {
- if ((ntv.status ^ pll_status) & ~STA_FLL)
- NLOG(NLOG_SYNCEVENT | NLOG_SYSEVENT)
- msyslog(LOG_NOTICE,
- "kernel time sync status change %04x",
- ntv.status);
}
pll_status = ntv.status;
#ifdef STA_NANO
OpenPOWER on IntegriCloud