Add log_valist()
[fio.git] / debug.c
diff --git a/debug.c b/debug.c
index 2eb3b6f932be7b9fd398beac920e5a928872928e..9722878a538b84bef408a2d0d7c1c259b8704941 100644 (file)
--- a/debug.c
+++ b/debug.c
@@ -22,6 +22,6 @@ void __dprint(int type, const char *str, ...)
        log_info("%-5u ", (int) pid);
 
        va_start(args, str);
        log_info("%-5u ", (int) pid);
 
        va_start(args, str);
-       vfprintf(f_out, str, args);
+       log_valist(str, args);
        va_end(args);
 }
        va_end(args);
 }