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

Eitan Adler eadler at FreeBSD.org
Fri Jun 22 00:02:37 UTC 2018


Author: eadler
Date: Fri Jun 22 00:02:36 2018
New Revision: 335517
URL: https://svnweb.freebsd.org/changeset/base/335517

Log:
  top(1): behave as documented for -t
  
  Show top itself by default, unless -t is specified.

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

Modified: head/usr.bin/top/top.c
==============================================================================
--- head/usr.bin/top/top.c	Fri Jun 22 00:02:05 2018	(r335516)
+++ head/usr.bin/top/top.c	Fri Jun 22 00:02:36 2018	(r335517)
@@ -281,7 +281,7 @@ main(int argc, char *argv[])
     /* get our name */
     /* initialize some selection options */
     ps.idle    = true;
-    ps.self    = false;
+    ps.self    = true;
     ps.system  = false;
     reset_uids();
     ps.thread  = false;


More information about the svn-src-all mailing list