summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Gregoratto <dev@sgregoratto.me>2020-09-14 13:18:40 +1000
committerStephen Gregoratto <dev@sgregoratto.me>2020-09-14 13:18:40 +1000
commitfd4ada416d324b5195bb9ee34b48edb491015fa9 (patch)
tree32c2814f437439563da1457b125dcc3c00be76eb
parentcd55cfd6d263a89bbaf401481ea6bd6a5dd8f110 (diff)
fix building on openbsd due to remaining WhiteList
-rw-r--r--openbsd/OpenBSDProcessList.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsd/OpenBSDProcessList.c b/openbsd/OpenBSDProcessList.c
index 0fe43ba7..c5d79f52 100644
--- a/openbsd/OpenBSDProcessList.c
+++ b/openbsd/OpenBSDProcessList.c
@@ -41,7 +41,7 @@ ProcessList* ProcessList_new(UsersTable* usersTable, Hashtable* pidMatchList, ui
opl = xCalloc(1, sizeof(OpenBSDProcessList));
pl = (ProcessList*) opl;
size = sizeof(pl->cpuCount);
- ProcessList_init(pl, Class(OpenBSDProcess), usersTable, pidWhiteList, userId);
+ ProcessList_init(pl, Class(OpenBSDProcess), usersTable, pidMatchList, userId);
e = sysctl(mib, 2, &pl->cpuCount, &size, NULL, 0);
if (e == -1 || pl->cpuCount < 1) {

© 2014-2024 Faster IT GmbH | imprint | privacy policy