svn commit: r338315 - head/usr.bin/top
Mark Johnston
markj at FreeBSD.org
Sat Aug 25 15:59:52 UTC 2018
Author: markj
Date: Sat Aug 25 15:59:51 2018
New Revision: 338315
URL: https://svnweb.freebsd.org/changeset/base/338315
Log:
Fix column alignment in per-thread mode.
PR: 230872
Approved by: re (marius)
MFC after: 1 week
Modified:
head/usr.bin/top/machine.c
Modified: head/usr.bin/top/machine.c
==============================================================================
--- head/usr.bin/top/machine.c Sat Aug 25 15:47:52 2018 (r338314)
+++ head/usr.bin/top/machine.c Sat Aug 25 15:59:51 2018 (r338315)
@@ -1067,6 +1067,8 @@ format_next_process(struct handle * xhandle, char *(*g
if (!ps.thread) {
sbuf_printf(procbuf, "%4d ", pp->ki_numthreads);
+ } else {
+ sbuf_printf(procbuf, " ");
}
sbuf_printf(procbuf, "%3d ", pp->ki_pri.pri_level - PZERO);
More information about the svn-src-head
mailing list