diff options
author | Nathan Scott <natoscott@users.noreply.github.com> | 2020-09-14 17:42:23 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-14 17:42:23 +1000 |
commit | 313d7c980c219c68226c5073a6a50c1344992825 (patch) | |
tree | 32c2814f437439563da1457b125dcc3c00be76eb | |
parent | cd55cfd6d263a89bbaf401481ea6bd6a5dd8f110 (diff) | |
parent | fd4ada416d324b5195bb9ee34b48edb491015fa9 (diff) |
Merge pull request #127 from gh-fork-dump/openbsd-fix
fix building on openbsd due to remaining WhiteList
-rw-r--r-- | openbsd/OpenBSDProcessList.c | 2 |
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) { |