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>
This commit is contained in:
Stefan Weil 2012-04-23 22:54:38 +02:00 committed by Kevin Wolf
parent a5126c759d
commit b9531b6eed
1 changed files with 2 additions and 1 deletions

View File

@ -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;