aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-02-29 07:46:19 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-02-29 07:46:19 +0000
commit8a2e421f26623773b9f79f322b808a757ff055c0 (patch)
tree785acafb0bed445c325f4d0dceae9063a3e09795
parent19fb67eee4d69e6b473c784ed95b8c08ccf24b14 (diff)
downloadbusybox-8a2e421f26623773b9f79f322b808a757ff055c0.tar.gz
nmeter: fix bug where %[mf] behaves as %[mt]
-rw-r--r--procps/nmeter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/procps/nmeter.c b/procps/nmeter.c
index 573052921..7ab2865c8 100644
--- a/procps/nmeter.c
+++ b/procps/nmeter.c
@@ -625,7 +625,7 @@ static void collect_mem(mem_stat *s)
put_question_marks(4);
return;
}
- if (s->opt == 'f') {
+ if (s->opt == 't') {
scale(m_total << 10);
return;
}