[git commit] top: fix breakage introduced by previous commit

Denys Vlasenko vda.linux at googlemail.com
Fri Sep 6 10:59:48 UTC 2013


commit: http://git.busybox.net/busybox/commit/?id=dc57294485068e644714804ad1b1a3a10c4fceec
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 procps/top.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/procps/top.c b/procps/top.c
index a13a41c..31f2a51 100644
--- a/procps/top.c
+++ b/procps/top.c
@@ -847,7 +847,7 @@ static void display_topmem_header(int scr_width, int *lines_rem_p)
 static void ulltoa6_and_space(unsigned long long ul, char buf[6])
 {
 	/* see http://en.wikipedia.org/wiki/Tera */
-	smart_ulltoa5(ul, buf, " mgtpezy")[0] = '\0';
+	smart_ulltoa5(ul, buf, " mgtpezy")[0] = ' ';
 }
 
 static NOINLINE void display_topmem_process_list(int lines_rem, int scr_width)


More information about the busybox-cvs mailing list