projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a438ac9
)
Format string checking for logger().
author
Guus Sliepen
<guus@tinc-vpn.org>
Sat, 12 Jul 2003 20:24:04 +0000
(20:24 +0000)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Sat, 12 Jul 2003 20:24:04 +0000
(20:24 +0000)
src/logger.h
patch
|
blob
|
history
diff --git
a/src/logger.h
b/src/logger.h
index
f750770
..
edd0d93
100644
(file)
--- a/
src/logger.h
+++ b/
src/logger.h
@@
-25,7
+25,7
@@
enum {
extern int debug_level;
extern void openlogger(const char *, int);
-extern void logger(int, const char *, ...);
+extern void logger(int, const char *, ...)
__attribute__ ((format(printf, 2, 3)))
;
extern void closelogger(void);
#define ifdebug(l) if(debug_level >= DEBUG_##l)