diff options
Diffstat (limited to 'src/audio_out/audio_alsa_out.c')
-rw-r--r-- | src/audio_out/audio_alsa_out.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/audio_out/audio_alsa_out.c b/src/audio_out/audio_alsa_out.c index 837e824d4..51dcdf59b 100644 --- a/src/audio_out/audio_alsa_out.c +++ b/src/audio_out/audio_alsa_out.c @@ -26,7 +26,7 @@ * (c) 2001 James Courtier-Dutton <James@superbug.demon.co.uk> * * - * $Id: audio_alsa_out.c,v 1.158 2006/01/27 07:46:09 tmattern Exp $ + * $Id: audio_alsa_out.c,v 1.159 2006/04/21 23:15:44 dsalt Exp $ */ #ifdef HAVE_CONFIG_H @@ -272,7 +272,11 @@ static long ao_alsa_get_volume_from_percent(int val, long min, long max) { * Error callback, we need to control this, * error message should be printed only in DEBUG mode. */ -static void error_callback(const char *file, int line, +static void +#ifdef __GNUC__ + __attribute__((format (printf, 5, 6))) +#endif + error_callback(const char *file, int line, const char *function, int err, const char *fmt, ...) { #ifdef DEBUG va_list args; |