OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
047b39e
)
audio: Use GCC_FMT_ATTR (format checking)
author
Stefan Weil
<weil@mail.berlios.de>
Mon, 15 Nov 2010 19:54:12 +0000
(20:54 +0100)
committer
Blue Swirl
<blauwirbel@gmail.com>
Sat, 4 Dec 2010 20:51:18 +0000
(20:51 +0000)
Cc: Blue Swirl <blauwirbel@gmail.com>
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
audio/audio_pt_int.c
patch
|
blob
|
history
diff --git
a/audio/audio_pt_int.c
b/audio/audio_pt_int.c
index
f15cc70
..
908c569
100644
(file)
--- 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;