aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/top
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2024-05-21 10:28:35 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2024-05-22 14:47:46 +0000
commitb7f62c6042f8b4b322d9fa20a8c6a81a9a58c164 (patch)
treea4dbac6b68891370e39a2dfa6abe24184edb390d /usr.bin/top
parenteaab8e4166a02212cb7d6aea4304834d9bcf5ff9 (diff)
Diffstat (limited to 'usr.bin/top')
-rw-r--r--usr.bin/top/display.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/top/display.c b/usr.bin/top/display.c
index 32b8b12798dc..b6cde0e63aa7 100644
--- a/usr.bin/top/display.c
+++ b/usr.bin/top/display.c
@@ -252,7 +252,7 @@ i_loadave(int mpid, double avenrun[])
for (i = 0; i < 3; i++)
{
- printf("%c %5.2f",
+ printf("%c %7.2f",
i == 0 ? ':' : ',',
avenrun[i]);
}
@@ -289,7 +289,7 @@ u_loadave(int mpid, double *avenrun)
/* we should optimize this and only display changes */
for (i = 0; i < 3; i++)
{
- printf("%s%5.2f",
+ printf("%s%7.2f",
i == 0 ? "" : ", ",
avenrun[i]);
}