Patchwork [PULL,03/17] qemu-img: Add missing GCC_FMT_ATTR

login
register
mail settings
Submitter Michael Tokarev
Date June 22, 2013, 9:24 a.m.
Message ID <1371893076-9643-4-git-send-email-mjt@msgid.tls.msk.ru>
Download mbox | patch
Permalink /patch/253394/
State New
Headers show

Comments

Michael Tokarev - June 22, 2013, 9:24 a.m.
From: Stefan Weil <sw@weilnetz.de>

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
---
 qemu-img.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/qemu-img.c b/qemu-img.c
index 809b4f1..f8c97d3 100644
--- a/qemu-img.c
+++ b/qemu-img.c
@@ -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) {