commit | 8b7968f7c4ac8c07cad6a1a0891d38cf239a2839 | [log] [tgz] |
---|---|---|
author | Stefan Weil <weil@mail.berlios.de> | Thu Sep 23 21:28:05 2010 +0200 |
committer | Blue Swirl <blauwirbel@gmail.com> | Sun Oct 03 06:34:51 2010 +0000 |
tree | 4a061bb5e911a88f914c106afd2a8c9ba9127835 | |
parent | e5924d8980e0bd027f2f12fa702ec1c555538230 [diff] [blame] |
Use GCC_FMT_ATTR (format checking) Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
diff --git a/disas.c b/disas.c index 79a98de..afe331f 100644 --- a/disas.c +++ b/disas.c
@@ -349,7 +349,8 @@ return 0; } -static int monitor_fprintf(FILE *stream, const char *fmt, ...) +static int GCC_FMT_ATTR(2, 3) +monitor_fprintf(FILE *stream, const char *fmt, ...) { va_list ap; va_start(ap, fmt);