diff options
author | Daniel Borkmann <dborkman@redhat.com> | 2013-07-12 11:37:25 +0200 |
---|---|---|
committer | Daniel Borkmann <dborkman@redhat.com> | 2013-07-12 11:37:25 +0200 |
commit | affa51801095f861aa4d86b67097f1616f653492 (patch) | |
tree | 179fa4487ddd20a9274c84fcc45ebab73c3e62cd /ifpps.c | |
parent | b6408785a2db0f8169afaa4a4add0895b660ae1a (diff) |
ifpps: median: add whitespace padding in one occurence
Add whitespace padding in one occurence of 'med:' output.
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'ifpps.c')
-rw-r--r-- | ifpps.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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, |