Skip to contentSkip to conversation

qemu-img: Add missing GCC_FMT_ATTR

PATCH Applied Stefan Weil 3 participants 3 messages Jun 16, 2013 – Jun 17, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qemu-img: Add missing GCC_FMT_ATTR

---
 qemu-img.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
qemu-img.c +1 -1
index a2967ea..9c9254a 100644
@@ -128,7 +128,7 @@ static void QEMU_NORETURN 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) {
Signature · 1 line
1.7.10.4