aboutsummaryrefslogtreecommitdiff
path: root/nscd
diff options
context:
space:
mode:
Diffstat (limited to 'nscd')
-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 5aeff89f6a..70530982e5 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);