From: Stefan Weil Date: Mon, 15 Nov 2010 19:54:12 +0000 (+0100) Subject: audio: Use GCC_FMT_ATTR (format checking) X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=ab9de3692e34dc874ce44c7905590ef98445ce33;p=qemu.git audio: Use GCC_FMT_ATTR (format checking) Cc: Blue Swirl Signed-off-by: Stefan Weil Signed-off-by: Blue Swirl --- diff --git a/audio/audio_pt_int.c b/audio/audio_pt_int.c index f15cc7015b..908c569a92 100644 --- a/audio/audio_pt_int.c +++ b/audio/audio_pt_int.c @@ -8,7 +8,8 @@ #include -static void logerr (struct audio_pt *pt, int err, const char *fmt, ...) +static void GCC_FMT_ATTR(3, 4) logerr (struct audio_pt *pt, int err, + const char *fmt, ...) { va_list ap;