crc/test: don't throw away results
[fio.git] / idletime.c
index 5cc8b65f6051d6822e28ab536d8d6c675d501ddb..fab43c535df2e1f065e4b6a01f4dac3e7ae9f87e 100644 (file)
@@ -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;