diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-13 18:23:25 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-14 09:25:15 +0100 |
commit | 7196df7ac616be39689f21d8784fd78030868586 (patch) | |
tree | f606916b936cf6500bb4344c71070ee5ab7ccd9d | |
parent | 36aafefc064cf5d5df51b7ca7bcc7e2256cefd69 (diff) |
tdf#43157: Enable format check in sal_detail_logFormat
Change-Id: I65296dd9b4b13fc1c3a3d8eed738e257b204b691
-rw-r--r-- | include/sal/detail/log.h | 2 |
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 ; |