aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorStefan Weil <weil@mail.berlios.de>2010-11-15 20:54:12 +0100
committerBlue Swirl <blauwirbel@gmail.com>2010-12-04 20:51:18 +0000
commitab9de3692e34dc874ce44c7905590ef98445ce33 (patch)
tree39122d12dbebe114986081d04f2775f2db2b1baa /audio
parent047b39e47ca07cf68bdf4074031e8e41bf7de641 (diff)
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>
Diffstat (limited to 'audio')
-rw-r--r--audio/audio_pt_int.c3
1 files changed, 2 insertions, 1 deletions
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 <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;