Преглед на файлове

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
         ;