From b9531b6eed93c9e1769d6f371c4da5d1f955e0d1 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Mon, 23 Apr 2012 22:54:38 +0200 Subject: [PATCH] block/qcow2: Add missing GCC_FMT_ATTR to function report_unsupported() Cc: Kevin Wolf Signed-off-by: Stefan Weil Signed-off-by: Kevin Wolf --- block/qcow2.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.7.4