Add log_valist()
[fio.git] / log.h
diff --git a/log.h b/log.h
index 5ca37b391a454cbc29a2992ab5bc9b382a328b99..71f89c1a04c0eeb7c0187ef59a8a6ce7cbce9db1 100644 (file)
--- a/log.h
+++ b/log.h
@@ -16,6 +16,7 @@ extern FILE *f_err;
        } while (0)
 
 #define log_info(args...)      fprintf(f_out, ##args)
        } while (0)
 
 #define log_info(args...)      fprintf(f_out, ##args)
+#define log_valist(str, args)  vfprintf(f_out, (str), (args))
 
 FILE *get_f_out(void);
 FILE *get_f_err(void);
 
 FILE *get_f_out(void);
 FILE *get_f_err(void);