summaryrefslogtreecommitdiff
path: root/xine
diff options
context:
space:
mode:
Diffstat (limited to 'xine')
-rw-r--r--xine/post.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xine/post.c b/xine/post.c
index 97e2f75c..088e316d 100644
--- a/xine/post.c
+++ b/xine/post.c
@@ -52,8 +52,8 @@
!defined(XINELIBOUTPUT_DEBUG_STDERR)
# undef x_syslog
-
- static void x_syslog(int level, const char *fmt, ...)
+ static void x_syslog(int level, const char *fmt, ...) __attribute__ ((format (printf, 2, 3)));
+ static void x_syslog(int level, const char *fmt, ...)
{
va_list argp;
char buf[512];