Widen ST_UID (UID) column to 5 chars to allow UIDs > 9999 without breaking alignment

Issue Github #841, Debian bug #910492
This commit is contained in:
Daniel Lange 2018-10-07 11:16:12 +02:00
parent 67e368914a
commit c34be41e1c
8 changed files with 8 additions and 8 deletions

View File

@ -466,7 +466,7 @@ void Process_writeField(Process* this, RichString* str, ProcessField field) {
}
break;
}
case ST_UID: xSnprintf(buffer, n, "%4d ", this->st_uid); break;
case ST_UID: xSnprintf(buffer, n, "%5d ", this->st_uid); break;
case TIME: Process_printTime(str, this->time); return;
case TGID: xSnprintf(buffer, n, Process_pidFormat, this->tgid); break;
case TPGID: xSnprintf(buffer, n, Process_pidFormat, this->tpgid); break;