From 4eef480b4603589010b02ace86b3b8508aed13ab Mon Sep 17 00:00:00 2001 From: Eitan Adler Date: Sun, 10 Jun 2018 06:33:49 +0000 Subject: [PATCH] top(1): use correct word when displaying threads PR: 182204 Reported by: "Brodey Dover" --- usr.bin/top/display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/top/display.c b/usr.bin/top/display.c index 77d2a5300bb8..415faeba52c5 100644 --- a/usr.bin/top/display.c +++ b/usr.bin/top/display.c @@ -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 */