From fe5e1523ab09e890ebe4e8ee6267c841ff5e3508 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 13 Oct 2015 19:29:08 +0200 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- include/error.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/error.h') diff --git a/include/error.h b/include/error.h index 8cce80c..7cf551f 100644 --- a/include/error.h +++ b/include/error.h @@ -45,7 +45,7 @@ * @param args Formatting-arguments for `format`. */ void error(int, int, const char*, ...) - __GCC_ONLY(__attribute__((format(printf, 3, 4)))); + __GCC_ONLY(__attribute__((format(slibc_printf, 3, 4)))); /** * Variant of `error` that uses `va_list` instead of variadic arguments. @@ -82,7 +82,7 @@ void verror(int, int, const char*, va_list); * @param args Formatting-arguments for `format`. */ void error_at_line(int, int, const char*, unsigned int, const char*, ...) - __GCC_ONLY(__attribute__((format(printf, 5, 6)))); + __GCC_ONLY(__attribute__((format(slibc_printf, 5, 6)))); /** * Variant of `verror` that prints the filename and the line -- cgit v1.2.3-70-g09d2