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)
636 } 636 }
637 fclose(fp); 637 fclose(fp);
638 638
639#define S(s) (s ? s : "0") 639#define S(s) (s ? s : "0 ")
640 snprintf(linebuf, sizeof(linebuf), 640 snprintf(linebuf, sizeof(linebuf),
641 "Mem %stotal %sanon %smap %sfree", 641 "Mem %stotal %sanon %smap %sfree",
642 S(total), S(anon), S(map), S(mfree)); 642 S(total), S(anon), S(map), S(mfree));