Commit 831ee461 authored by Jonathan Beck's avatar Jonathan Beck

use vfprintf instead of fprintf since we use va_list as argument

parent 5811f929
...@@ -46,7 +46,7 @@ void log_debug_msg(const char *format, ...) ...@@ -46,7 +46,7 @@ void log_debug_msg(const char *format, ...)
va_start(args, format); va_start(args, format);
if (toto_debug) if (toto_debug)
fprintf(stderr, format, args); vfprintf(stderr, format, args);
va_end(args); va_end(args);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment