X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=idletime.c;h=fab43c535df2e1f065e4b6a01f4dac3e7ae9f87e;hb=922a5be82ca50f7c89a1f9c4b84757ba8636e2d1;hp=5cc8b65f6051d6822e28ab536d8d6c675d501ddb;hpb=a666cab8ed3d2a2fa782be345425a2e88734a007;p=fio.git diff --git a/idletime.c b/idletime.c index 5cc8b65f..fab43c53 100644 --- a/idletime.c +++ b/idletime.c @@ -481,7 +481,7 @@ void show_idle_prof_stats(int output, struct json_object *parent, 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;