From: Jens Axboe Date: Tue, 12 Oct 2021 20:09:33 +0000 (-0600) Subject: t/io_uring: fix silly identical branch error X-Git-Tag: fio-3.29~66 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=7fa12b6eede2179d1f538d9120b40dc193dfae27;p=fio.git t/io_uring: fix silly identical branch error The previous change inadvertently added the / 1000 to both branches, it should of course only be done on the first one. Fixes: dc10c23ab9a7 ("t/io_uring: show IOPS in increments of 1000 IOPS if necessary") Signed-off-by: Jens Axboe --- diff --git a/t/io_uring.c b/t/io_uring.c index 444f8415..6af3b4d3 100644 --- a/t/io_uring.c +++ b/t/io_uring.c @@ -1317,7 +1317,7 @@ int main(int argc, char *argv[]) if (iops > 100000) printf("IOPS=%luK, ", iops / 1000); else - printf("IOPS=%luK, ", iops / 1000); + printf("IOPS=%luK, ", iops); if (!do_nop) printf("BW=%luMiB/s, ", bw); printf("IOS/call=%ld/%ld, inflight=(%s)\n", rpc, ipc, fdepths);