← Commit list

9109fbeaa

Denis Vlasenko
Denis Vlasenko
2007-07-15
FAILED Duration: 12s

Subject

top: truncate usernames to 8 chars

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

procps/top.c+1 -1
@@ -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