aboutsummaryrefslogtreecommitdiff
path: root/nscd/dbg_log.h
diff options
context:
space:
mode:
Diffstat (limited to 'nscd/dbg_log.h')
-rw-r--r--nscd/dbg_log.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/nscd/dbg_log.h b/nscd/dbg_log.h
index 5aeff89..7053098 100644
--- a/nscd/dbg_log.h
+++ b/nscd/dbg_log.h
@@ -22,7 +22,8 @@
extern int debug_level;
-extern void dbg_log (const char *str, ...);
+extern void dbg_log (const char *str, ...)
+ __attribute__ ((__format__ (__printf__, 1, 0)));;
extern int set_logfile (const char *logfile);