aboutsummaryrefslogtreecommitdiffstats
path: root/include/error.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-10-13 19:29:08 +0200
committerMattias Andrée <maandree@operamail.com>2015-10-13 19:29:08 +0200
commitfe5e1523ab09e890ebe4e8ee6267c841ff5e3508 (patch)
treee5b8806b886126dc3a09d25ec9a5dc0e7248216f /include/error.h
parentm (diff)
downloadslibc-fe5e1523ab09e890ebe4e8ee6267c841ff5e3508.tar.gz
slibc-fe5e1523ab09e890ebe4e8ee6267c841ff5e3508.tar.bz2
slibc-fe5e1523ab09e890ebe4e8ee6267c841ff5e3508.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--include/error.h4
1 files changed, 2 insertions, 2 deletions
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