diff options
Diffstat (limited to 'procps/top.c')
-rw-r--r-- | procps/top.c | 3 |
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) | |||
847 | static void ulltoa6_and_space(unsigned long long ul, char buf[6]) | 847 | static 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 | ||
854 | static NOINLINE void display_topmem_process_list(int lines_rem, int scr_width) | 853 | static NOINLINE void display_topmem_process_list(int lines_rem, int scr_width) |