summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Jonathan Beck2008-11-30 11:05:51 +0100
committerGravatar Jonathan Beck2008-11-30 11:05:51 +0100
commit831ee461bd03ad809f73b34dc5205d296158a969 (patch)
treeb263f6b05d202312fefb276668481b37a0c3ce8c
parent5811f92943fa81b6266e0b57d95824d1efa17120 (diff)
downloadlibplist-831ee461bd03ad809f73b34dc5205d296158a969.tar.gz
libplist-831ee461bd03ad809f73b34dc5205d296158a969.tar.bz2
use vfprintf instead of fprintf since we use va_list as argument
-rw-r--r--src/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.c b/src/utils.c
index 049777a..ceb1f5d 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -46,7 +46,7 @@ void log_debug_msg(const char *format, ...)
va_start(args, format);
if (toto_debug)
- fprintf(stderr, format, args);
+ vfprintf(stderr, format, args);
va_end(args);