svn commit: r239493 - releng/9.1/contrib/ntp/ntpd

Ed Maste emaste at FreeBSD.org
Tue Aug 21 11:35:55 UTC 2012


Author: emaste
Date: Tue Aug 21 11:35:54 2012
New Revision: 239493
URL: http://svn.freebsd.org/changeset/base/239493

Log:
  MFC r232844: 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:	re

Modified:
  releng/9.1/contrib/ntp/ntpd/ntp_loopfilter.c
Directory Properties:
  releng/9.1/contrib/ntp/   (props changed)

Modified: releng/9.1/contrib/ntp/ntpd/ntp_loopfilter.c
==============================================================================
--- releng/9.1/contrib/ntp/ntpd/ntp_loopfilter.c	Tue Aug 21 11:34:40 2012	(r239492)
+++ releng/9.1/contrib/ntp/ntpd/ntp_loopfilter.c	Tue Aug 21 11:35:54 2012	(r239493)
@@ -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


More information about the svn-src-all mailing list