Skip to content

Commit

Permalink
Print bit per second with %e to get proper alignment.
Browse files Browse the repository at this point in the history
  • Loading branch information
bluhm committed Aug 10, 2024
1 parent 1572665 commit 9f7242f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion udpbench.c
Original file line number Diff line number Diff line change
Expand Up @@ -918,7 +918,7 @@ status_init(const char *action, unsigned long syscall, unsigned long packet,
"%s: syscalls %lu, packets %lu, "
"frame %lu, payload %lu, ip %lu, ether %lu, "
"begin %lld.%06ld, end %lld.%06ld, "
"duration %lld.%06ld, bit/s %g",
"duration %lld.%06ld, bit/s %e",
action, syscall, packet, frame, paylen, iplen, etherlen,
(long long)begin->tv_sec, begin->tv_usec,
(long long)end->tv_sec, end->tv_usec,
Expand Down

0 comments on commit 9f7242f

Please sign in to comment.