Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jun 2018 23:30:55 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r335390 - head/usr.bin/top
Message-ID:  <201806192330.w5JNUtha099682@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: eadler
Date: Tue Jun 19 23:30:55 2018
New Revision: 335390
URL: https://svnweb.freebsd.org/changeset/base/335390

Log:
  top(1): fix top -mio

Modified:
  head/usr.bin/top/machine.c

Modified: head/usr.bin/top/machine.c
==============================================================================
--- head/usr.bin/top/machine.c	Tue Jun 19 22:19:42 2018	(r335389)
+++ head/usr.bin/top/machine.c	Tue Jun 19 23:30:55 2018	(r335390)
@@ -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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806192330.w5JNUtha099682>