summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/common/log.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/log.h b/src/common/log.h
index 2543b51a8..3518d4e1d 100644
--- a/src/common/log.h
+++ b/src/common/log.h
@@ -89,7 +89,7 @@ enum LOG_LEVELS {
void GenericLog(LOGTYPES_LEVELS level, LOGTYPES_TYPE type, const char*file, int line,
const char* function, const char* fmt, ...)
#ifdef __GNUC__
- __attribute__((format(printf, 5, 6)))
+ __attribute__((format(printf, 6, 7)))
#endif
;