From: Denis Vlasenko Date: Sun, 15 Jul 2007 17:07:58 +0000 (-0000) Subject: top: truncate usernames to 8 chars X-Git-Tag: 1_7_0~138 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9109fbeaa115f8d8364e40d866914cc9e46d51e5;p=oweals%2Fbusybox.git top: truncate usernames to 8 chars --- diff --git a/procps/top.c b/procps/top.c index a37a0d07f..cd55ea308 100644 --- a/procps/top.c +++ b/procps/top.c @@ -431,7 +431,7 @@ static void display_status(int count, int scr_width) else sprintf(vsz_str_buf, "%7ld", s->vsz); // PID PPID USER STAT VSZ %MEM [%CPU] COMMAND - col -= printf("\n" "%5u%6u %-8s %s%s" FMT + col -= printf("\n" "%5u%6u %-8.8s %s%s" FMT #if ENABLE_FEATURE_TOP_CPU_USAGE_PERCENTAGE FMT #endif