projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename FIO_TYPE_BD to FIO_TYPE_BLOCK
[fio.git]
/
idletime.c
diff --git
a/idletime.c
b/idletime.c
index 5cc8b65f6051d6822e28ab536d8d6c675d501ddb..4c00d80df692590b6b8b62a57bd9af2fa528dcd2 100644
(file)
--- a/
idletime.c
+++ b/
idletime.c
@@
-260,7
+260,7
@@
void fio_idle_prof_init(void)
if ((ret = pthread_detach(ipt->thread))) {
/* log error and let the thread spin */
if ((ret = pthread_detach(ipt->thread))) {
/* log error and let the thread spin */
- log_err("fio: pthread_deta
t
ch %s\n", strerror(ret));
+ log_err("fio: pthread_detach %s\n", strerror(ret));
}
}
}
}
@@
-481,7
+481,7
@@
void show_idle_prof_stats(int output, struct json_object *parent,
return;
}
return;
}
- if ((ipc.opt != IDLE_PROF_OPT_NONE) && (output
==
FIO_OUTPUT_JSON)) {
+ if ((ipc.opt != IDLE_PROF_OPT_NONE) && (output
&
FIO_OUTPUT_JSON)) {
if (!parent)
return;
if (!parent)
return;