aboutsummaryrefslogtreecommitdiff
path: root/procps
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-12-24 12:16:24 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-12-24 12:16:24 +0000
commitfcfb5c04bbaa52ae7df5d45bc3ddadcc9e935fa1 (patch)
treeafebd34647c52f89637ab2471cc1a2052a38fe44 /procps
parente4bc603f0ba296647bd5fc3f1e8e7231effe6676 (diff)
downloadbusybox-fcfb5c04bbaa52ae7df5d45bc3ddadcc9e935fa1.tar.gz
defconfig: update
appletli.c: add vda's (C) top: fixlet for incorrect display of "0" Makefile: reduce stack size from 20k to 16k
Diffstat (limited to 'procps')
-rw-r--r--procps/top.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/procps/top.c b/procps/top.c
index 0da742f0b..200519162 100644
--- a/procps/top.c
+++ b/procps/top.c
@@ -636,7 +636,7 @@ static void display_topmem_header(int scr_width)
}
fclose(fp);
-#define S(s) (s ? s : "0")
+#define S(s) (s ? s : "0 ")
snprintf(linebuf, sizeof(linebuf),
"Mem %stotal %sanon %smap %sfree",
S(total), S(anon), S(map), S(mfree));