summaryrefslogtreecommitdiffstats
path: root/darwin/DarwinProcessList.c
diff options
context:
space:
mode:
authorDániel Bakai <bakaidl@gmail.com>2020-12-13 15:54:13 +0100
committerBenBE <BenBE@geshi.org>2020-12-13 17:58:16 +0100
commit3655b6ca0b1b89a2d6415211c1ce484dd6afe39f (patch)
tree1db4c8b1ae468aa3f2a6d3fb1c6ddfc4501cdd41 /darwin/DarwinProcessList.c
parent1506283affdb024106df283fb4dbc0253470f1c9 (diff)
Add column in darwin to indicate whether the the process is running under translation
Diffstat (limited to 'darwin/DarwinProcessList.c')
-rw-r--r--darwin/DarwinProcessList.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/darwin/DarwinProcessList.c b/darwin/DarwinProcessList.c
index ae1efb15..dec98270 100644
--- a/darwin/DarwinProcessList.c
+++ b/darwin/DarwinProcessList.c
@@ -131,7 +131,7 @@ static struct kinfo_proc* ProcessList_getKInfoProcs(size_t* count) {
ProcessList* ProcessList_new(UsersTable* usersTable, Hashtable* pidMatchList, uid_t userId) {
DarwinProcessList* this = xCalloc(1, sizeof(DarwinProcessList));
- ProcessList_init(&this->super, Class(Process), usersTable, pidMatchList, userId);
+ ProcessList_init(&this->super, Class(DarwinProcess), usersTable, pidMatchList, userId);
/* Initialize the CPU information */
this->super.cpuCount = ProcessList_allocateCPULoadInfo(&this->prev_load);

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