summaryrefslogtreecommitdiff
path: root/procps/nmeter.c
diff options
context:
space:
mode:
authorDenis Vlasenko2008-02-29 07:46:19 +0000
committerDenis Vlasenko2008-02-29 07:46:19 +0000
commit8a2e421f26623773b9f79f322b808a757ff055c0 (patch)
tree785acafb0bed445c325f4d0dceae9063a3e09795 /procps/nmeter.c
parent19fb67eee4d69e6b473c784ed95b8c08ccf24b14 (diff)
downloadbusybox-8a2e421f26623773b9f79f322b808a757ff055c0.zip
busybox-8a2e421f26623773b9f79f322b808a757ff055c0.tar.gz
nmeter: fix bug where %[mf] behaves as %[mt]
Diffstat (limited to 'procps/nmeter.c')
-rw-r--r--procps/nmeter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/procps/nmeter.c b/procps/nmeter.c
index 5730529..7ab2865 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;
}