audio: Use GCC_FMT_ATTR (format checking)

Cc: Blue Swirl <blauwirbel@gmail.com>
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
Stefan Weil 2010-11-15 20:54:12 +01:00 committed by Blue Swirl
parent 047b39e47c
commit ab9de3692e

View file

@ -8,7 +8,8 @@
#include <signal.h>
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;