Author: eadler Date: Sun Jun 10 06:33:49 2018 New Revision: 334918 URL: https://svnweb.freebsd.org/changeset/base/334918
Log: top(1): use correct word when displaying threads PR: 182204 Reported by: "Brodey Dover" <dover...@gmail.com> Modified: head/usr.bin/top/display.c Modified: head/usr.bin/top/display.c ============================================================================== --- head/usr.bin/top/display.c Sun Jun 10 06:21:51 2018 (r334917) +++ head/usr.bin/top/display.c Sun Jun 10 06:33:49 2018 (r334918) @@ -349,7 +349,7 @@ i_procstates(int total, int *brkdn) int i; /* write current number of processes and remember the value */ - printf("%d processes:", total); + printf("%d %s:", total, (ps.thread) ? "threads" :"processes"); ltotal = total; /* put out enough spaces to get to column 15 */ _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"