svn commit: trunk/busybox/procps
vda at busybox.net
vda at busybox.net
Sun Jul 15 10:07:59 PDT 2007
Author: vda
Date: 2007-07-15 10:07:58 -0700 (Sun, 15 Jul 2007)
New Revision: 19097
Log:
top: truncate usernames to 8 chars
Modified:
trunk/busybox/procps/top.c
Changeset:
Modified: trunk/busybox/procps/top.c
===================================================================
--- trunk/busybox/procps/top.c 2007-07-15 17:06:15 UTC (rev 19096)
+++ trunk/busybox/procps/top.c 2007-07-15 17:07:58 UTC (rev 19097)
@@ -431,7 +431,7 @@
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
More information about the busybox-cvs
mailing list