summaryrefslogtreecommitdiff
path: root/src/bitmap/snfread.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-10-02 09:19:47 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-11-11 20:15:14 -0800
commitf24c559bcb42e3ea9321c3e6a9ecf0720a581e33 (patch)
treebcbc8276f049ba89b898fd784e5f07f5429ab9d0 /src/bitmap/snfread.c
parent3715cd752bac912a56aa1cbb9dd874624a709aab (diff)
Add _X_ATTRIBUTE_PRINTF to *Error/*Warning functions taking printf formats
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
Diffstat (limited to 'src/bitmap/snfread.c')
-rw-r--r--src/bitmap/snfread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bitmap/snfread.c b/src/bitmap/snfread.c
index 2f51c48..b2b0c67 100644
--- a/src/bitmap/snfread.c
+++ b/src/bitmap/snfread.c
@@ -60,7 +60,7 @@ from The Open Group.
#include <stdarg.h>
-static void
+static void _X_ATTRIBUTE_PRINTF(1, 2)
snfError(const char* message, ...)
{
va_list args;