File ntp-kernel-time-sync-message.patch of Package ntp

--- ntpd/ntp_loopfilter.c	2008-07-29 13:19:54.000000000 +0200
+++ ntpd/ntp_loopfilter.c	2008-07-29 13:21:00.000000000 +0200
@@ -642,9 +642,10 @@
 		 * frequency and pretend we did it here.
 		 */
 		if (ntp_adjtime(&ntv) == TIME_ERROR) {
+		    if (ntv.status != pll_status)
 			NLOG(NLOG_SYNCEVENT | NLOG_SYSEVENT)
 			    msyslog(LOG_NOTICE,
-			    "kernel time sync error %04x", ntv.status);
+			    "kernel time sync state %04x", ntv.status);
 			ntv.status &= ~(STA_PPSFREQ | STA_PPSTIME);
 		} else {
 			if ((ntv.status ^ pll_status) & ~STA_FLL)
openSUSE Build Service is sponsored by