Module Name: src
Committed By: joerg
Date: Mon May 30 22:02:41 UTC 2016
Modified Files:
src/sbin/iscsid: iscsid_globals.h
Log Message:
Add printf-like annotation.
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sbin/iscsid/iscsid_globals.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sbin/iscsid/iscsid_globals.h
diff -u src/sbin/iscsid/iscsid_globals.h:1.8 src/sbin/iscsid/iscsid_globals.h:1.9
--- src/sbin/iscsid/iscsid_globals.h:1.8 Sun May 29 13:35:45 2016
+++ src/sbin/iscsid/iscsid_globals.h Mon May 30 22:02:41 2016
@@ -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 @@ extern int debug_level;
#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 */