diff options
| author | 2008-11-30 11:05:51 +0100 | |
|---|---|---|
| committer | 2008-11-30 11:05:51 +0100 | |
| commit | 831ee461bd03ad809f73b34dc5205d296158a969 (patch) | |
| tree | b263f6b05d202312fefb276668481b37a0c3ce8c | |
| parent | 5811f92943fa81b6266e0b57d95824d1efa17120 (diff) | |
| download | libimobiledevice-831ee461bd03ad809f73b34dc5205d296158a969.tar.gz libimobiledevice-831ee461bd03ad809f73b34dc5205d296158a969.tar.bz2 | |
use vfprintf instead of fprintf since we use va_list as argument
| -rw-r--r-- | src/utils.c | 2 |
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, ...) | |||
| 46 | va_start(args, format); | 46 | va_start(args, format); |
| 47 | 47 | ||
| 48 | if (toto_debug) | 48 | if (toto_debug) |
| 49 | fprintf(stderr, format, args); | 49 | vfprintf(stderr, format, args); |
| 50 | 50 | ||
| 51 | va_end(args); | 51 | va_end(args); |
| 52 | 52 | ||
