Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Aug 2012 19:23:33 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r239466 - stable/7/contrib/ntp/ntpd
Message-ID:  <201208201923.q7KJNXrT081330@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Mon Aug 20 19:23:32 2012
New Revision: 239466
URL: http://svn.freebsd.org/changeset/base/239466

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

Modified:
  stable/7/contrib/ntp/ntpd/ntp_loopfilter.c
Directory Properties:
  stable/7/contrib/ntp/   (props changed)

Modified: stable/7/contrib/ntp/ntpd/ntp_loopfilter.c
==============================================================================
--- stable/7/contrib/ntp/ntpd/ntp_loopfilter.c	Mon Aug 20 18:57:41 2012	(r239465)
+++ stable/7/contrib/ntp/ntpd/ntp_loopfilter.c	Mon Aug 20 19:23:32 2012	(r239466)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208201923.q7KJNXrT081330>