summaryrefslogtreecommitdiff
path: root/fsdev
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2012-01-11 19:47:37 +0100
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2012-01-13 10:37:00 +0000
commitc5c7d3f0a79a977955e9df436cf9ca17269b8783 (patch)
tree321ff8b7770041097cbb54521bf8d887236b1924 /fsdev
parente7e4a6ccae023ab4b9650aed6af369088ef08e3b (diff)
downloadqemu-c5c7d3f0a79a977955e9df436cf9ca17269b8783.tar.gz
qemu-c5c7d3f0a79a977955e9df436cf9ca17269b8783.tar.bz2
qemu-c5c7d3f0a79a977955e9df436cf9ca17269b8783.zip
virtfs-proxy-helper: Add missing printf format attribute
Every function with printf like arguments must have it (see file HACKING), so add it. Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Diffstat (limited to 'fsdev')
-rw-r--r--fsdev/virtfs-proxy-helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fsdev/virtfs-proxy-helper.c b/fsdev/virtfs-proxy-helper.c
index 21e9b160c2..4a507d860e 100644
--- a/fsdev/virtfs-proxy-helper.c
+++ b/fsdev/virtfs-proxy-helper.c
@@ -54,7 +54,7 @@ static struct option helper_opts[] = {
static bool is_daemon;
static bool get_version; /* IOC getversion IOCTL supported */
-static void do_log(int loglevel, const char *format, ...)
+static void GCC_FMT_ATTR(2, 3) do_log(int loglevel, const char *format, ...)
{
va_list ap;