FreeBSD: Hide kernel processes.
This was an error. Should be P_KPROC not P_SYSTEM
This commit is contained in:
parent
ac9e5c0fbf
commit
0520fe4623
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue