aboutsummaryrefslogtreecommitdiff
path: root/procps
diff options
context:
space:
mode:
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));