summaryrefslogtreecommitdiffstats
path: root/src/shared/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/log.h')
-rw-r--r--src/shared/log.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/shared/log.h b/src/shared/log.h
index f273cab..74b3511 100644
--- a/src/shared/log.h
+++ b/src/shared/log.h
@@ -45,7 +45,8 @@ bool log_openLogFile(const char *path);
/**
* Add a line to the log
*/
-void logadd(const logmask_t mask, const char *text, ...);
+void logadd(const logmask_t mask, const char *text, ...)
+ __attribute__ ((format (printf, 2, 3)));
/**
* Return last size bytes of log.