Module Name:    src
Committed By:   apb
Date:           Tue Jul 14 20:56:12 UTC 2009

Modified Files:
        src/dist/ntp/ntpd: ntp_loopfilter.c

Log Message:
Add missing close quote in a usually-unreached part of an #if block.
Part of PR 41255 from Kurt Lidl.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/dist/ntp/ntpd/ntp_loopfilter.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/dist/ntp/ntpd/ntp_loopfilter.c
diff -u src/dist/ntp/ntpd/ntp_loopfilter.c:1.10 src/dist/ntp/ntpd/ntp_loopfilter.c:1.11
--- src/dist/ntp/ntpd/ntp_loopfilter.c:1.10	Sun Apr  5 17:33:11 2009
+++ src/dist/ntp/ntpd/ntp_loopfilter.c	Tue Jul 14 20:56:12 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: ntp_loopfilter.c,v 1.10 2009/04/05 17:33:11 christos Exp $	*/
+/*	$NetBSD: ntp_loopfilter.c,v 1.11 2009/07/14 20:56:12 apb Exp $	*/
 
 /*
  * ntp_loopfilter.c - implements the NTP loop filter algorithm
@@ -191,7 +191,7 @@
 #ifdef STA_FMT
 	snprintb(buf, sizeof(buf), STA_FMT, status);
 #else
-	snprintf(buf, sizeof(buf), "%04x, status);
+	snprintf(buf, sizeof(buf), "%04x", status);
 #endif
 	NLOG(NLOG_SYNCEVENT | NLOG_SYSEVENT)
 	    msyslog(LOG_NOTICE,

Reply via email to