]> Git Repo - qemu.git/commitdiff
block/qcow2: Add missing GCC_FMT_ATTR to function report_unsupported()
authorStefan Weil <[email protected]>
Mon, 23 Apr 2012 20:54:38 +0000 (22:54 +0200)
committerKevin Wolf <[email protected]>
Wed, 2 May 2012 16:39:39 +0000 (18:39 +0200)
Cc: Kevin Wolf <[email protected]>
Signed-off-by: Stefan Weil <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
block/qcow2.c

index ad46c03c2f6daef22f5232d1df9c119c8bfc180d..8c60a6f06123c154da9f7768ee04ea6a2e857286 100644 (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;
This page took 0.027216 seconds and 4 git commands to generate.