X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=log.h;h=71f89c1a04c0eeb7c0187ef59a8a6ce7cbce9db1;hp=12c9a55242df84570adf16c5ef06d551ff8a303b;hb=efcc4586d3c8974118fd66d53a09ffd739d77d11;hpb=a3d741fa3bc3120d5b62a56826a97524daa32803 diff --git a/log.h b/log.h index 12c9a552..71f89c1a 100644 --- a/log.h +++ b/log.h @@ -1,6 +1,8 @@ #ifndef FIO_LOG_H #define FIO_LOG_H +#include + extern FILE *f_out; extern FILE *f_err; @@ -14,6 +16,7 @@ extern FILE *f_err; } 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);