summaryrefslogtreecommitdiffstats
path: root/Process.c
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2018-10-07 11:16:12 +0200
committerDaniel Lange <DLange@git.local>2018-10-07 11:16:12 +0200
commitc34be41e1ca89e81e43cfe3be01b52478461f70e (patch)
tree9981ec9b7c9e2fa36b6f702342ee90362526ca79 /Process.c
parent67e368914a1b03cbf18c4c7b678f424f5e18ad2e (diff)
Widen ST_UID (UID) column to 5 chars to allow UIDs > 9999 without breaking alignment
Issue Github #841, Debian bug #910492
Diffstat (limited to 'Process.c')
-rw-r--r--Process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Process.c b/Process.c
index 471f5299..d57a2e97 100644
--- a/Process.c
+++ b/Process.c
@@ -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;

© 2014-2024 Faster IT GmbH | imprint | privacy policy