Module Name:    src
Committed By:   joerg
Date:           Thu Jan  2 21:35:50 UTC 2014

Modified Files:
        src/external/bsd/ntp/dist/ntpd: refclock_true.c

Log Message:
Add format string attribute for better detection.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.3 -r1.2 src/external/bsd/ntp/dist/ntpd/refclock_true.c

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

Modified files:

Index: src/external/bsd/ntp/dist/ntpd/refclock_true.c
diff -u src/external/bsd/ntp/dist/ntpd/refclock_true.c:1.1.1.3 src/external/bsd/ntp/dist/ntpd/refclock_true.c:1.2
--- src/external/bsd/ntp/dist/ntpd/refclock_true.c:1.1.1.3	Fri Dec 27 23:31:00 2013
+++ src/external/bsd/ntp/dist/ntpd/refclock_true.c	Thu Jan  2 21:35:50 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: refclock_true.c,v 1.1.1.3 2013/12/27 23:31:00 christos Exp $	*/
+/*	$NetBSD: refclock_true.c,v 1.2 2014/01/02 21:35:50 joerg Exp $	*/
 
 /*
  * refclock_true - clock driver for the Kinemetrics Truetime receivers
@@ -203,6 +203,7 @@ struct	refclock refclock_true = {
 #if !defined(__STDC__)
 # define true_debug (void)
 #else
+NTP_PRINTF(2, 3)
 static void
 true_debug(struct peer *peer, const char *fmt, ...)
 {

Reply via email to