FreeBSD: Hide kernel processes.

This was an error. Should be P_KPROC not P_SYSTEM
This commit is contained in:
Alastair Poole 2020-02-18 16:26:10 +00:00
parent ac9e5c0fbf
commit 0520fe4623
1 changed files with 1 additions and 1 deletions

View File

@ -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));