summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'mdk-stage1/log.h')
-rw-r--r--mdk-stage1/log.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdk-stage1/log.h b/mdk-stage1/log.h
index fcc641ad9..90aa3f6e6 100644
--- a/mdk-stage1/log.h
+++ b/mdk-stage1/log.h
@@ -25,7 +25,7 @@
#include <stdarg.h>
-void log_message(const char * s, ...);
+void log_message(const char * s, ...) __attribute__ ((format (printf, 1, 2)));
void vlog_message(const char * s, va_list args);
void log_perror(char *msg);
void open_log(void);