steadystate: eliminate some steadystate_data members
[fio.git] / stat.c
diff --git a/stat.c b/stat.c
index 4bfacf71dc7dcce0dc48bb2ba39c33475aadaa7c..31042cab8f7e6f510c54a5ec1391f0527134e984 100644 (file)
--- a/stat.c
+++ b/stat.c
@@ -1266,8 +1266,8 @@ static struct json_object *show_thread_status_json(struct thread_stat *ts,
                char ss_buf[64];
 
                snprintf(ss_buf, sizeof(ss_buf), "%s%s:%f%s",
-                       ss->check_iops ? "iops" : "bw",
-                       ss->check_slope ? "_slope" : "",
+                       ss->mode & __FIO_SS_IOPS ? "iops" : "bw",
+                       ss->mode & __FIO_SS_SLOPE ? "_slope" : "",
                        (float) ss->limit,
                        ss->pct ? "%" : "");