summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm/log.h')
-rw-r--r--lib/libalpm/log.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/log.h b/lib/libalpm/log.h
index abb160d5..00fabf47 100644
--- a/lib/libalpm/log.h
+++ b/lib/libalpm/log.h
@@ -30,7 +30,7 @@
#define ALPM_LOG_FUNC
#endif
-void _alpm_log(pmloglevel_t flag, char *fmt, ...);
+void _alpm_log(pmloglevel_t flag, char *fmt, ...) __attribute__((format(printf,2,3)));
#endif /* _ALPM_LOG_H */