top: fix breakage introduced by previous commit
authorDenys Vlasenko <vda.linux@googlemail.com>
Fri, 6 Sep 2013 10:59:48 +0000 (12:59 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 6 Sep 2013 10:59:48 +0000 (12:59 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
procps/top.c

index a13a41c..31f2a51 100644 (file)
@@ -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)