Преглед изворни кода

log: updated GenericLog __attribute__ for newly added parameter

bunnei пре 12 година
родитељ
комит
5cd922d151
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/common/log.h

+ 1 - 1
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
         ;