diff options
Diffstat (limited to 'os')
-rw-r--r-- | os/log.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -195,7 +195,7 @@ LogInit(const char *fname, const char *backup) char *logFileName = NULL; if (fname && *fname) { -#if __GNUC__ > 4 || __GNUC__ == 4 && __GNUC_MINOR__ > 2 +#if __GNUC__ > 4 || __GNUC__ == 4 && __GNUC_MINOR__ > 5 #pragma GCC diagnostic ignored "-Wformat-nonliteral" #endif if (asprintf(&logFileName, fname, display) == -1) @@ -208,7 +208,7 @@ LogInit(const char *fname, const char *backup) char *suffix; char *oldLog; -#if __GNUC__ > 4 || __GNUC__ == 4 && __GNUC_MINOR__ > 2 +#if __GNUC__ > 4 || __GNUC__ == 4 && __GNUC_MINOR__ > 5 #pragma GCC diagnostic ignored "-Wformat-nonliteral" #endif if ((asprintf(&suffix, backup, display) == -1) || |