summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ifpps.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ifpps.c b/ifpps.c
index 8fc4e92..c9b5de3 100644
--- a/ifpps.c
+++ b/ifpps.c
@@ -870,10 +870,10 @@ static void screen_percpu_states(WINDOW *screen, const struct ifstat *rel,
all = m_cpu_user + m_cpu_sys + m_cpu_nice + m_cpu_idle + m_cpu_iow;
mvwprintw(screen, (*voff)++, 2,
- "med: %14.1lf%% "
+ "med:%*s%14.1lf%% "
"%9.1lf%% "
"%10.1lf%% "
- "%11.1lf%%",
+ "%11.1lf%%", max_padd, "",
100.0 * (m_cpu_user + m_cpu_nice) / all,
100.0 * m_cpu_sys / all,
100.0 * m_cpu_idle /all,