svn commit: r334918 - head/usr.bin/top
Eitan Adler
eadler at FreeBSD.org
Sun Jun 10 06:33:50 UTC 2018
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" <doverosx at 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 */
More information about the svn-src-all
mailing list