summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/sal/detail/log.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sal/detail/log.h b/include/sal/detail/log.h
index bd44cdae78c8..8dee5015b1ea 100644
--- a/include/sal/detail/log.h
+++ b/include/sal/detail/log.h
@@ -60,7 +60,7 @@ SAL_DLLPUBLIC void SAL_CALL sal_detail_logFormat(
enum sal_detail_LogLevel level, char const * area, char const * where,
char const * format, ...)
/* TODO: enabling this will produce a huge amount of -Werror=format errors: */
-#if defined __GNUC__ && 0
+#if defined __GNUC__
__attribute__((format(printf, 4, 5)))
#endif
;