Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/ntp/dist/ntpd Add format string attribute for b...
details: https://anonhg.NetBSD.org/src/rev/cf715c718459
branches: trunk
changeset: 792404:cf715c718459
user: joerg <joerg%NetBSD.org@localhost>
date: Thu Jan 02 21:35:50 2014 +0000
description:
Add format string attribute for better detection.
diffstat:
external/bsd/ntp/dist/ntpd/refclock_true.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 6f773c5380d4 -r cf715c718459 external/bsd/ntp/dist/ntpd/refclock_true.c
--- a/external/bsd/ntp/dist/ntpd/refclock_true.c Thu Jan 02 21:35:19 2014 +0000
+++ b/external/bsd/ntp/dist/ntpd/refclock_true.c Thu Jan 02 21:35:50 2014 +0000
@@ -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 @@
#if !defined(__STDC__)
# define true_debug (void)
#else
+NTP_PRINTF(2, 3)
static void
true_debug(struct peer *peer, const char *fmt, ...)
{
Home |
Main Index |
Thread Index |
Old Index