diff options
author | Stefan Weil <weil@mail.berlios.de> | 2010-09-23 21:28:05 +0200 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-10-03 06:34:51 +0000 |
commit | 8b7968f7c4ac8c07cad6a1a0891d38cf239a2839 (patch) | |
tree | 4a061bb5e911a88f914c106afd2a8c9ba9127835 /qemu-img.c | |
parent | e5924d8980e0bd027f2f12fa702ec1c555538230 (diff) | |
download | qemu-8b7968f7c4ac8c07cad6a1a0891d38cf239a2839.zip qemu-8b7968f7c4ac8c07cad6a1a0891d38cf239a2839.tar.gz qemu-8b7968f7c4ac8c07cad6a1a0891d38cf239a2839.tar.bz2 |
Use GCC_FMT_ATTR (format checking)
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'qemu-img.c')
-rw-r--r-- | qemu-img.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -39,7 +39,7 @@ typedef struct img_cmd_t { /* Default to cache=writeback as data integrity is not important for qemu-tcg. */ #define BDRV_O_FLAGS BDRV_O_CACHE_WB -static void error(const char *fmt, ...) +static void GCC_FMT_ATTR(1, 2) error(const char *fmt, ...) { va_list ap; va_start(ap, fmt); |