Fix column alignment in per-thread mode.
PR: 230872 Approved by: re (marius) MFC after: 1 week
This commit is contained in:
parent
4a82f36851
commit
fedded8d04
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=338315
@ -1067,6 +1067,8 @@ format_next_process(struct handle * xhandle, char *(*get_userid)(int), int flags
|
|||||||
|
|
||||||
if (!ps.thread) {
|
if (!ps.thread) {
|
||||||
sbuf_printf(procbuf, "%4d ", pp->ki_numthreads);
|
sbuf_printf(procbuf, "%4d ", pp->ki_numthreads);
|
||||||
|
} else {
|
||||||
|
sbuf_printf(procbuf, " ");
|
||||||
}
|
}
|
||||||
|
|
||||||
sbuf_printf(procbuf, "%3d ", pp->ki_pri.pri_level - PZERO);
|
sbuf_printf(procbuf, "%3d ", pp->ki_pri.pri_level - PZERO);
|
||||||
|
Loading…
Reference in New Issue
Block a user