1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-13 10:02:38 +00:00

Use int format string, not a long format string.

This commit is contained in:
Robert Watson 2004-10-08 12:28:28 +00:00
parent 85bba4455a
commit b626480682
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=136259

View File

@ -192,7 +192,7 @@ timing_loop(int s, struct timespec interval, long duration, u_char *packet,
printf("send errors: %d\n", send_errors);
printf("approx send rate: %ld\n", (send_calls - send_errors) /
duration);
printf("approx error rate: %ld\n", (send_errors / send_calls));
printf("approx error rate: %d\n", (send_errors / send_calls));
printf("waited: %lld\n", waited);
printf("approx waits/sec: %lld\n", waited / duration);
printf("approx wait rate: %lld\n", waited / send_calls);