top(1): use correct word when displaying threads

PR:		182204
Reported by:	"Brodey Dover" <doverosx@gmail.com>
This commit is contained in:
Eitan Adler 2018-06-10 06:33:49 +00:00
parent b4aadfd27e
commit 4eef480b46

View File

@ -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 */