Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/iscsid Add printf-like annotation.



details:   https://anonhg.NetBSD.org/src/rev/92d0ceb5920f
branches:  trunk
changeset: 815643:92d0ceb5920f
user:      joerg <joerg%NetBSD.org@localhost>
date:      Mon May 30 22:02:41 2016 +0000

description:
Add printf-like annotation.

diffstat:

 sbin/iscsid/iscsid_globals.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 2510194ac32b -r 92d0ceb5920f sbin/iscsid/iscsid_globals.h
--- a/sbin/iscsid/iscsid_globals.h      Mon May 30 21:58:32 2016 +0000
+++ b/sbin/iscsid/iscsid_globals.h      Mon May 30 22:02:41 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: iscsid_globals.h,v 1.8 2016/05/29 13:35:45 mlelstv Exp $       */
+/*     $NetBSD: iscsid_globals.h,v 1.9 2016/05/30 22:02:41 joerg Exp $ */
 
 /*-
  * Copyright (c) 2005,2006,2011 The NetBSD Foundation, Inc.
@@ -385,7 +385,7 @@
 
 #define DEBOUT(x) iscsid_log x
 #define DEB(lev,x) { if (debug_level >= lev) iscsid_log x ; }
-void iscsid_log(const char *, ...);
+void iscsid_log(const char *, ...) __printflike(1, 2);
 
 /* Session list protection shortcuts */
 



Home | Main Index | Thread Index | Old Index