diff options
author | Denis Vlasenko | 2007-07-15 17:07:58 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-07-15 17:07:58 +0000 |
commit | 9109fbeaa115f8d8364e40d866914cc9e46d51e5 (patch) | |
tree | fde9c8b01e8ead965690e99504fa8b1ccb7fbb8b | |
parent | 4652daace9b2eed7ddc67d1698e43d79bedeed9f (diff) | |
download | busybox-9109fbeaa115f8d8364e40d866914cc9e46d51e5.zip busybox-9109fbeaa115f8d8364e40d866914cc9e46d51e5.tar.gz |
top: truncate usernames to 8 chars
-rw-r--r-- | procps/top.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/procps/top.c b/procps/top.c index a37a0d0..cd55ea3 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 |