aboutsummaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2012-04-23 22:54:38 +0200
committerKevin Wolf <kwolf@redhat.com>2012-05-02 18:39:39 +0200
commitb9531b6eed93c9e1769d6f371c4da5d1f955e0d1 (patch)
tree53f32e2fab76e0882c0758b0b0cbe4954c5b397a /block
parenta5126c759d12afe3011eab74fef9cea19dbd729f (diff)
downloadqemu-b9531b6eed93c9e1769d6f371c4da5d1f955e0d1.zip
qemu-b9531b6eed93c9e1769d6f371c4da5d1f955e0d1.tar.gz
qemu-b9531b6eed93c9e1769d6f371c4da5d1f955e0d1.tar.bz2
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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/block/qcow2.c b/block/qcow2.c
index ad46c03..8c60a6f 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;