Explorar el Código

log: updated GenericLog __attribute__ for newly added parameter

bunnei hace 12 años
padre
commit
5cd922d151
Se han modificado 1 ficheros con 1 adiciones y 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, 
     const char* function, const char* fmt, ...)
 #ifdef __GNUC__
-        __attribute__((format(printf, 5, 6)))
+        __attribute__((format(printf, 6, 7)))
 #endif
         ;