diff options
Diffstat (limited to 'usr.bin/procstat/procstat_cred.c')
-rw-r--r-- | usr.bin/procstat/procstat_cred.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/procstat/procstat_cred.c b/usr.bin/procstat/procstat_cred.c index a1fc89b..82ac6ad 100644 --- a/usr.bin/procstat/procstat_cred.c +++ b/usr.bin/procstat/procstat_cred.c @@ -41,10 +41,12 @@ procstat_cred(pid_t pid, struct kinfo_proc *kipp) int i; if (!hflag) - printf("%5s %5s %5s %5s %5s %5s %5s %-20s\n", "PID", "EUID", - "RUID", "SVUID", "EGID", "RGID", "SVGID", "GROUPS"); + printf("%5s %-16s %5s %5s %5s %5s %5s %5s %-20s\n", "PID", + "COMM", "EUID", "RUID", "SVUID", "EGID", "RGID", "SVGID", + "GROUPS"); printf("%5d ", pid); + printf("%-16s ", kipp->ki_comm); printf("%5d ", kipp->ki_uid); printf("%5d ", kipp->ki_ruid); printf("%5d ", kipp->ki_svuid); |