projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ioengines: don't call zbd_put_io_u() for engines not implementing commit
[fio.git]
/
log.c
diff --git
a/log.c
b/log.c
index 6c36813d4a9912b5e8742d2da55304f56b00f941..562a29aaddfe0e1d42de369cd8e5645afa96f7a3 100644
(file)
--- 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 */
}
/* 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;
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);
}
len = log_info_buf(buf2, len);
free(buf2);
}
+#endif
ssize_t log_info(const char *format, ...)
{
ssize_t log_info(const char *format, ...)
{