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/err.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/err.h') diff --git a/include/err.h b/include/err.h index ae538ff..7557a04 100644 --- a/include/err.h +++ b/include/err.h @@ -41,7 +41,7 @@ * @param ... Formatting-arguments. */ void warn(const char*, ...) - __GCC_ONLY(__attribute__((format(printf, 1, 2)))); + __GCC_ONLY(__attribute__((format(slibc_printf, 1, 2)))); /** * Print a warning to stderr, followed by a description @@ -64,7 +64,7 @@ void vwarn(const char*, va_list); * @param ... Formatting-arguments. */ void warnx(const char*, ...) - __GCC_ONLY(__attribute__((format(printf, 1, 2)))); + __GCC_ONLY(__attribute__((format(slibc_printf, 1, 2)))); /** * Print a warning to stderr, but do not print a @@ -88,7 +88,7 @@ void vwarnx(const char*, va_list); * @param ... Formatting-arguments. */ __noreturn void err(int, const char*, ...) - __GCC_ONLY(__attribute__((format(printf, 2, 3)))); + __GCC_ONLY(__attribute__((format(slibc_printf, 2, 3)))); /** * Print an error message to stderr, followed by a @@ -113,7 +113,7 @@ __noreturn void verr(int, const char*, va_list); * @param ... Formatting-arguments. */ __noreturn void errx(int, const char*, ...) - __GCC_ONLY(__attribute__((format(printf, 2, 3)))); + __GCC_ONLY(__attribute__((format(slibc_printf, 2, 3)))); /** * Print an error message to stderr, but do not print a -- cgit v1.2.3-70-g09d2