nmeter: fix bug where %[mf] behaves as %[mt]
authorDenis Vlasenko <vda.linux@googlemail.com>
Fri, 29 Feb 2008 07:46:19 +0000 (07:46 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Fri, 29 Feb 2008 07:46:19 +0000 (07:46 -0000)
procps/nmeter.c

index 573052921eb44b76a06b5b94b1a8575eea787b0d..7ab2865c8bccfbaea94f0bd6f44841d912bae76c 100644 (file)
@@ -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;
        }