aboutsummaryrefslogtreecommitdiff
path: root/procps/top.c
diff options
context:
space:
mode:
Diffstat (limited to 'procps/top.c')
-rw-r--r--procps/top.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/procps/top.c b/procps/top.c
index abee69806..a13a41cd8 100644
--- a/procps/top.c
+++ b/procps/top.c
@@ -847,8 +847,7 @@ static void display_topmem_header(int scr_width, int *lines_rem_p)
847static void ulltoa6_and_space(unsigned long long ul, char buf[6]) 847static void ulltoa6_and_space(unsigned long long ul, char buf[6])
848{ 848{
849 /* see http://en.wikipedia.org/wiki/Tera */ 849 /* see http://en.wikipedia.org/wiki/Tera */
850 smart_ulltoa5(ul, buf, " mgtpezy"); 850 smart_ulltoa5(ul, buf, " mgtpezy")[0] = '\0';
851 buf[5] = ' ';
852} 851}
853 852
854static NOINLINE void display_topmem_process_list(int lines_rem, int scr_width) 853static NOINLINE void display_topmem_process_list(int lines_rem, int scr_width)