diff options
author | Stefan Weil <sw@weilnetz.de> | 2012-04-23 22:54:38 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2012-05-02 18:39:39 +0200 |
commit | b9531b6eed93c9e1769d6f371c4da5d1f955e0d1 (patch) | |
tree | 53f32e2fab76e0882c0758b0b0cbe4954c5b397a /block | |
parent | a5126c759d12afe3011eab74fef9cea19dbd729f (diff) | |
download | qemu-b9531b6eed93c9e1769d6f371c4da5d1f955e0d1.zip |
block/qcow2: Add missing GCC_FMT_ATTR to function report_unsupported()
Cc: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block')
-rw-r--r-- | block/qcow2.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/block/qcow2.c b/block/qcow2.c index ad46c03c2f..8c60a6f061 100644 --- a/block/qcow2.c +++ b/block/qcow2.c @@ -182,7 +182,8 @@ static void cleanup_unknown_header_ext(BlockDriverState *bs) } } -static void report_unsupported(BlockDriverState *bs, const char *fmt, ...) +static void GCC_FMT_ATTR(2, 3) report_unsupported(BlockDriverState *bs, + const char *fmt, ...) { char msg[64]; va_list ap; |