vp-build/srcpkgs/procps/patches/top_uid_length.patch

17 lines
1.1 KiB
Diff

Description: Make the uid length 5 not 4
Author: <csmall@debian.org>
Bug-Debian: http://bugs.debian.org/426782
Index: b/top.c
===================================================================
--- a/top.c 2009-11-24 21:00:35.000000000 +1100
+++ b/top.c 2009-11-24 21:00:35.000000000 +1100
@@ -1237,7 +1237,7 @@
{ "AaAa", " PID", " %5u", -1, -1, SF(PID), "Process Id", L_NONE },
{ "BbBb", " PPID", " %5u", -1, -1, SF(PPD), "Parent Process Pid", L_EITHER },
{ "CcQq", " RUSER ", " %-8.8s", -1, -1, SF(URR), "Real user name", L_RUSER },
- { "DdCc", " UID", " %4u", -1, -1, SF(UID), "User Id", L_NONE },
+ { "DdCc", " UID", " %5u", -1, -1, SF(UID), "User Id", L_NONE },
{ "EeDd", " USER ", " %-8.8s", -1, -1, SF(URE), "User Name", L_EUSER },
{ "FfNn", " GROUP ", " %-8.8s", -1, -1, SF(GRP), "Group Name", L_GROUP },
{ "GgGg", " TTY ", " %-8.8s", 8, -1, SF(TTY), "Controlling Tty", L_stat },