qemu-img: Add missing GCC_FMT_ATTR

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
Stefan Weil 2013-06-16 17:01:05 +02:00 committed by Michael Tokarev
parent f17e4eaafc
commit 7c30f65703
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ static void help(void)
exit(1);
}
static int qprintf(bool quiet, const char *fmt, ...)
static int GCC_FMT_ATTR(2, 3) qprintf(bool quiet, const char *fmt, ...)
{
int ret = 0;
if (!quiet) {