aboutsummaryrefslogtreecommitdiff
path: root/nxcompshad
diff options
context:
space:
mode:
Diffstat (limited to 'nxcompshad')
-rw-r--r--nxcompshad/src/Logger.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/nxcompshad/src/Logger.h b/nxcompshad/src/Logger.h
index e0b9997d7..88908f717 100644
--- a/nxcompshad/src/Logger.h
+++ b/nxcompshad/src/Logger.h
@@ -68,7 +68,7 @@ static inline void logError(const char *name, int error) \
__attribute__((__unused__));
static inline void logWarning(const char *name, const char *format, ...) \
- __attribute__((__unused__));
+ __attribute__((format(printf, 2, 3))) __attribute__((__unused__));
static inline void logTest(const char *name, const char *format, ...) \
__attribute__((format(printf, 2, 3))) __attribute__((__unused__));