From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:54201) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rl3DK-0000oU-SD for qemu-devel@nongnu.org; Wed, 11 Jan 2012 13:48:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rl3D1-0004Ik-PI for qemu-devel@nongnu.org; Wed, 11 Jan 2012 13:47:50 -0500 From: Stefan Weil Date: Wed, 11 Jan 2012 19:47:37 +0100 Message-Id: <1326307657-2132-1-git-send-email-sw@weilnetz.de> Subject: [Qemu-devel] [PATCH] virtfs-proxy-helper: Add missing printf format attribute List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, Stefan Weil , "M. Mohan Kumar" , "Aneesh Kumar K.V" Every function with printf like arguments must have it (see file HACKING), so add it. Signed-off-by: Stefan Weil --- fsdev/virtfs-proxy-helper.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fsdev/virtfs-proxy-helper.c b/fsdev/virtfs-proxy-helper.c index 21e9b16..4a507d8 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; -- 1.7.2.5