summaryrefslogtreecommitdiff
path: root/usr.bin/tcpbench/tcpbench.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/tcpbench/tcpbench.c')
-rw-r--r--usr.bin/tcpbench/tcpbench.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tcpbench/tcpbench.c b/usr.bin/tcpbench/tcpbench.c
index 8e098023cf9..d5aef6a6773 100644
--- a/usr.bin/tcpbench/tcpbench.c
+++ b/usr.bin/tcpbench/tcpbench.c
@@ -915,7 +915,8 @@ client_init(struct addrinfo *aitop, int nconn, struct statctx *udp_sc,
freeaddrinfo(aitop);
if (ptb->vflag && nconn > 1)
- fprintf(stderr, "%u connections established\n", nconn);
+ fprintf(stderr, "%d connections established\n",
+ mainstats.nconns);
}
static int