aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sgsnemu/sgsnemu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sgsnemu/sgsnemu.c b/sgsnemu/sgsnemu.c
index 9d82145..66ca228 100644
--- a/sgsnemu/sgsnemu.c
+++ b/sgsnemu/sgsnemu.c
@@ -1197,7 +1197,7 @@ static int ping_finish()
if (nreceived && tsum)
printf("round-trip (ms) min/avg/max = %.3f/%.3f/%.3f\n\n",
tmin / 1000.0, tsum / 1000.0 / nreceived, tmax / 1000.0);
- printf("%d packets transmitted \n", ntreceived);
+ printf("%d packets transmitted \n", ntransmitted);
ntransmitted = 0;
return 0;