Skip to content

Commit

Permalink
qemu-img: Add missing GCC_FMT_ATTR
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Weil <[email protected]>
Reviewed-by: Stefan Hajnoczi <[email protected]>
Signed-off-by: Michael Tokarev <[email protected]>
  • Loading branch information
stweil authored and Michael Tokarev committed Jun 21, 2013
1 parent f17e4ea commit 7c30f65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qemu-img.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 7c30f65

Please sign in to comment.