diff options
Diffstat (limited to 'src/common/log.h')
-rw-r--r-- | src/common/log.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/log.h b/src/common/log.h index dace715d43..87a74bafe3 100644 --- a/src/common/log.h +++ b/src/common/log.h @@ -14,13 +14,13 @@ #define LOG_ERR 4 #endif -/* magic to make GCC check for proper format strings. */ +/* magic to make GCC check for proper format strings. */ #ifdef __GNUC__ #define CHECK_PRINTF(formatIdx, firstArg) \ __attribute__ ((format (printf, formatIdx, firstArg))) #else -#define CHECK_PRINTF(formatIdx, firstArg) -#endif +#define CHECK_PRINTF(formatIdx, firstArg) +#endif void add_stream_log(int loglevel, const char *name, FILE *stream); int add_file_log(int severity, const char *filename); |