mirror of
https://github.com/linux-can/can-utils.git
synced 2026-08-06 14:59:53 +02:00
adapt column width format for high busload values
This commit is contained in:
+1
-1
@@ -165,7 +165,7 @@ void printstats(int signo)
|
||||
else
|
||||
percent = 0;
|
||||
|
||||
printf(" %*s@%-*d %4d %6d %6d %3d%%",
|
||||
printf(" %*s@%-*d %5d %7d %6d %3d%%",
|
||||
max_devname_len, stat[i].devname,
|
||||
max_bitrate_len, stat[i].bitrate,
|
||||
stat[i].recv_frames,
|
||||
|
||||
Reference in New Issue
Block a user