X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=log.c;h=562a29aaddfe0e1d42de369cd8e5645afa96f7a3;hb=6308ef297145e73add65ba86bfdbeaf967957d1f;hp=6c36813d4a9912b5e8742d2da55304f56b00f941;hpb=34a3a855c4335f2a388f0184ec868b1cbfe326c5;p=fio.git diff --git a/log.c b/log.c index 6c36813d..562a29aa 100644 --- a/log.c +++ b/log.c @@ -42,6 +42,7 @@ size_t log_valist(const char *fmt, va_list args) } /* add prefix for the specified type in front of the valist */ +#ifdef FIO_INC_DEBUG void log_prevalist(int type, const char *fmt, va_list args) { char *buf1, *buf2; @@ -64,6 +65,7 @@ void log_prevalist(int type, const char *fmt, va_list args) len = log_info_buf(buf2, len); free(buf2); } +#endif ssize_t log_info(const char *format, ...) {