summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1995-04-24 16:25:29 +0000
committerJim Meyering <jim@meyering.net>1995-04-24 16:25:29 +0000
commit1b51c7e73b5372cb9358797c8f5fa0116d36fdc6 (patch)
tree98af26ec51de4a2d8ecdaaa70777d8772919999c /lib
parentaf8e117d0dc0117892f3dd7718b129a47de0f8f8 (diff)
downloadcoreutils-1b51c7e73b5372cb9358797c8f5fa0116d36fdc6.tar.xz
Protect format and printf with __*__.
Diffstat (limited to 'lib')
-rw-r--r--lib/error.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/error.h b/lib/error.h
index 2042e6afb..728c38a97 100644
--- a/lib/error.h
+++ b/lib/error.h
@@ -26,7 +26,7 @@
#if __STDC__
void error (int, int, const char *, ...) \
- __attribute__ ((format (printf, 3, 4)));
+ __attribute__ ((__format__ (__printf__, 3, 4)));
#else
void error ();
#endif