summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Scott <natoscott@users.noreply.github.com>2020-09-14 17:42:23 +1000
committerGitHub <noreply@github.com>2020-09-14 17:42:23 +1000
commit313d7c980c219c68226c5073a6a50c1344992825 (patch)
tree32c2814f437439563da1457b125dcc3c00be76eb
parentcd55cfd6d263a89bbaf401481ea6bd6a5dd8f110 (diff)
parentfd4ada416d324b5195bb9ee34b48edb491015fa9 (diff)
Merge pull request #127 from gh-fork-dump/openbsd-fix
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