X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=debug.c;h=9722878a538b84bef408a2d0d7c1c259b8704941;hp=2eb3b6f932be7b9fd398beac920e5a928872928e;hb=d048ba60fc1e207ac3204ef3306a32fac77293fa;hpb=8e8af3c17e0d73b6efd959d1edb246a9bade2cbe;ds=sidebyside diff --git a/debug.c b/debug.c index 2eb3b6f9..9722878a 100644 --- 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); - vfprintf(f_out, str, args); + log_valist(str, args); va_end(args); }