svn commit: r335390 - head/usr.bin/top

Eitan Adler eadler at FreeBSD.org
Tue Jun 19 23:30:56 UTC 2018


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;


More information about the svn-src-all mailing list