summaryrefslogtreecommitdiff
path: root/procps/top.c
diff options
context:
space:
mode:
Diffstat (limited to 'procps/top.c')
-rw-r--r--procps/top.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/procps/top.c b/procps/top.c
index 0da742f..2005191 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));