Explorar o código

log: updated GenericLog __attribute__ for newly added parameter

bunnei %!s(int64=12) %!d(string=hai) anos
pai
achega
5cd922d151
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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, 
 void GenericLog(LOGTYPES_LEVELS level, LOGTYPES_TYPE type, const char*file, int line, 
     const char* function, const char* fmt, ...)
     const char* function, const char* fmt, ...)
 #ifdef __GNUC__
 #ifdef __GNUC__
-        __attribute__((format(printf, 5, 6)))
+        __attribute__((format(printf, 6, 7)))
 #endif
 #endif
         ;
         ;