summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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