From: Stefan Weil <s...@weilnetz.de> Cc: Kevin Wolf <kw...@redhat.com> Signed-off-by: Stefan Weil <s...@weilnetz.de> Signed-off-by: Kevin Wolf <kw...@redhat.com> --- block/qcow2.c | 3 ++- 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; -- 1.7.6.5