aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/top
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2018-06-19 23:30:55 +0000
committerEitan Adler <eadler@FreeBSD.org>2018-06-19 23:30:55 +0000
commit3edda95c9d583f5df4db2ca21bb2a92a885a1748 (patch)
treed492cc16874fd4cb2608824ed24a24a6536d2106 /usr.bin/top
parent68b2ec19e125655fc0730f2bd242774d868c149f (diff)
downloadsrc-3edda95c9d583f5df4db2ca21bb2a92a885a1748.tar.gz
src-3edda95c9d583f5df4db2ca21bb2a92a885a1748.zip
top(1): fix top -mio
Notes
Notes: svn path=/head/; revision=335390
Diffstat (limited to 'usr.bin/top')
-rw-r--r--usr.bin/top/machine.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/top/machine.c b/usr.bin/top/machine.c
index 268ce8661b98..3cb5c8a9ead3 100644
--- a/usr.bin/top/machine.c
+++ b/usr.bin/top/machine.c
@@ -455,6 +455,7 @@ format_header(const char *uname_field)
case DISP_IO:
prehead = io_header;
snprintf(Header, sizeof(Header), prehead,
+ ps.thread_id ? " THR" : "PID",
jidlength, ps.jail ? " JID" : "",
namelength, namelength, uname_field);
break;