diff --git a/src/redis-cli.c b/src/redis-cli.c index 0cc6fd0dc..f9ee42d04 100644 --- a/src/redis-cli.c +++ b/src/redis-cli.c @@ -2471,7 +2471,7 @@ static void intrinsicLatencyMode(void) { } double avg_us = (double)run_time/runs; - double avg_ns = avg_us * 10e3; + double avg_ns = avg_us * 1e3; if (force_cancel_loop || end > test_end) { printf("\n%lld total runs " "(avg latency: "