projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
filesetup: convert root flush warning to fio_did_warn()
[fio.git]
/
debug.c
diff --git
a/debug.c
b/debug.c
index 013cd53c214debe2cbb7be1ca8842c436390ff96..2bee5078c12325873e87903c93c3623d4ca1ea76 100644
(file)
--- a/
debug.c
+++ b/
debug.c
@@
-7,20
+7,11
@@
void __dprint(int type, const char *str, ...)
{
va_list args;
void __dprint(int type, const char *str, ...)
{
va_list args;
- pid_t pid;
assert(type < FD_DEBUG_MAX);
assert(type < FD_DEBUG_MAX);
- pid = getpid();
- if (fio_debug_jobp && *fio_debug_jobp != -1U
- && pid != *fio_debug_jobp)
- return;
-
- log_info("%-8s ", debug_levels[type].name);
- log_info("%-5u ", (int) pid);
-
va_start(args, str);
va_start(args, str);
- log_
valist(
str, args);
+ log_
prevalist(type,
str, args);
va_end(args);
}
#endif
va_end(args);
}
#endif