aboutsummaryrefslogtreecommitdiffstats
path: root/libsimple.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--libsimple.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsimple.c b/libsimple.c
index 2bb5139..100a22c 100644
--- a/libsimple.c
+++ b/libsimple.c
@@ -70,7 +70,7 @@ test_timeval(double d, time_t sec, long int usec, double rd, const char *s, cons
}
#ifdef libsimple_vasprintfa
-LIBSIMPLE_GCC_ONLY__(__attribute__((__format__(__printf__, 2, 0))))
+LIBSIMPLE_GCC_ONLY__(__attribute__((__format__(__printf__, 2, 3))))
static int
test_vasprintfa(const char *expected, const char *format, ...)
{