From 784db4e70d2573468c82ff5dfee723b77a20322f Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Sat, 12 Jul 2003 20:24:04 +0000 Subject: [PATCH] Format string checking for logger(). --- src/logger.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/logger.h b/src/logger.h index f7507707..edd0d933 100644 --- 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) -- 2.39.5