Format microseconds correctly in bench_httpclient

svn:r1209
This commit is contained in:
Nick Mathewson 2009-04-21 16:17:59 +00:00
parent eda27f9557
commit 1bb8e010f9

View File

@ -191,7 +191,7 @@ main(int argc, char **argv)
"Each took about %.02f msec latency\n"
"%lld bytes read. %d errors.\n",
total_n_handled,
(int)total.tv_sec, total.tv_usec,
(int)total.tv_sec, (int)total.tv_usec,
throughput,
(double)(usec/1000) / total_n_handled,
(long long)total_n_bytes, n_errors);