From 0520fe462326a70733a586b97a9307785e78c556 Mon Sep 17 00:00:00 2001 From: Alastair Poole Date: Tue, 18 Feb 2020 16:26:10 +0000 Subject: [PATCH] FreeBSD: Hide kernel processes. This was an error. Should be P_KPROC not P_SYSTEM --- src/bin/process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/process.c b/src/bin/process.c index dade9a5..a69bce9 100644 --- a/src/bin/process.c +++ b/src/bin/process.c @@ -516,7 +516,7 @@ _process_list_freebsd_get(void) continue; } - if (kp.ki_flag & P_SYSTEM) + if (kp.ki_flag & P_KPROC) continue; Proc_Stats *p = calloc(1, sizeof(Proc_Stats));