Skip to content

Commit

Permalink
Update OpenBSDProcessTable.c
Browse files Browse the repository at this point in the history
  • Loading branch information
time-killer-games authored Jan 6, 2024
1 parent 0f00eaa commit 15d30f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openbsd/OpenBSDProcessTable.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ ProcessTable* ProcessTable_new(Machine* host, Hashtable* pidMatchList) {
}

void ProcessTable_delete(Object* cast) {
OpenBSDProcessTable* this = (OpenBSDProcessTable*) super;
OpenBSDProcessTable* this = (OpenBSDProcessTable*) cast;
ProcessTable_done(&this->super);
free(this);
}
Expand Down Expand Up @@ -130,7 +130,7 @@ static double getpcpu(const OpenBSDMachine* ohost, const struct kinfo_proc* kp)
}

static void OpenBSDProcessTable_scanProcs(OpenBSDProcessTable* this) {
Machine* host = this->super.host;
Machine* host = this->super.super.host;
OpenBSDMachine* ohost = (OpenBSDMachine*) host;
const Settings* settings = host->settings;
const bool hideKernelThreads = settings->hideKernelThreads;
Expand Down

0 comments on commit 15d30f6

Please sign in to comment.