summaryrefslogtreecommitdiffstats
path: root/darwin/DarwinProcessList.c
diff options
context:
space:
mode:
authorNathan Scott <nathans@redhat.com>2020-09-09 19:38:15 +1000
committerNathan Scott <nathans@redhat.com>2020-09-09 19:38:15 +1000
commit459733295954ec0d5958f9a8d955d0c164876c84 (patch)
treefe10a871c5c51bc7f98e275242bbed0276788415 /darwin/DarwinProcessList.c
parentc5808c56db166528ae7e74cedb51cc466f973b9f (diff)
Switch variable/field naming from WhiteList to MatchList
Diffstat (limited to 'darwin/DarwinProcessList.c')
-rw-r--r--darwin/DarwinProcessList.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/darwin/DarwinProcessList.c b/darwin/DarwinProcessList.c
index cedabc9d..39d99c15 100644
--- a/darwin/DarwinProcessList.c
+++ b/darwin/DarwinProcessList.c
@@ -114,11 +114,11 @@ struct kinfo_proc *ProcessList_getKInfoProcs(size_t *count) {
return processes;
}
-ProcessList* ProcessList_new(UsersTable* usersTable, Hashtable* pidWhiteList, uid_t userId) {
+ProcessList* ProcessList_new(UsersTable* usersTable, Hashtable* pidMatchList, uid_t userId) {
size_t len;
DarwinProcessList* this = xCalloc(1, sizeof(DarwinProcessList));
- ProcessList_init(&this->super, Class(Process), usersTable, pidWhiteList, userId);
+ ProcessList_init(&this->super, Class(Process), usersTable, pidMatchList, userId);
/* Initialize the CPU information */
this->super.cpuCount = ProcessList_allocateCPULoadInfo(&this->prev_load);

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