eta: use bool for forcing jobs_eta return
[fio.git] / server.c
index 4d4c2f28a539b32b958af8140c4739d43f4b94f9..cf01733bd015f767c4c279b9b54d6fd5ed2ec05b 100644 (file)
--- a/server.c
+++ b/server.c
@@ -715,7 +715,7 @@ static int handle_send_eta_cmd(struct fio_net_cmd *cmd)
         * Fake ETA return if we don't have a local one, otherwise the client
         * will end up timing out waiting for a response to the ETA request
         */
-       je = get_jobs_eta(1, &size);
+       je = get_jobs_eta(true, &size);
        if (!je) {
                size = sizeof(*je);
                je = calloc(1, size);