eta: use bool for forcing jobs_eta return
[fio.git] / stat.c
diff --git a/stat.c b/stat.c
index 818756dd8537d3385995ae817a7815f57c0c3008..ca066175d94243f51d7bd2773f0de1b4982c1fa1 100644 (file)
--- a/stat.c
+++ b/stat.c
@@ -1104,7 +1104,7 @@ static struct json_object *show_thread_status_json(struct thread_stat *ts,
        json_object_add_value_int(root, "error", ts->error);
 
        /* ETA Info */
-       je = get_jobs_eta(1, &size);
+       je = get_jobs_eta(true, &size);
        if (je) {
                json_object_add_value_int(root, "eta", je->eta_sec);
                json_object_add_value_int(root, "elapsed", je->elapsed_sec);