summaryrefslogtreecommitdiffstats
path: root/netbsd/NetBSDProcessTable.c
diff options
context:
space:
mode:
authorfraggerfox <santhosh.raju@gmail.com>2024-01-01 13:47:17 +0100
committerBenBE <BenBE@geshi.org>2024-01-09 09:17:09 +0100
commit615d489597bef01d9135bb37f45ac5d346590bf4 (patch)
tree2e827b44f7ea765a3a8c699adf067103ddd6c813 /netbsd/NetBSDProcessTable.c
parent71021b2d8beb98877fb4646db7e6faf926e30204 (diff)
Fix build in NetBSD.
Diffstat (limited to 'netbsd/NetBSDProcessTable.c')
-rw-r--r--netbsd/NetBSDProcessTable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/netbsd/NetBSDProcessTable.c b/netbsd/NetBSDProcessTable.c
index f09a3a4b..6608b92f 100644
--- a/netbsd/NetBSDProcessTable.c
+++ b/netbsd/NetBSDProcessTable.c
@@ -151,7 +151,7 @@ static double getpcpu(const NetBSDMachine* nhost, const struct kinfo_proc2* kp)
}
static void NetBSDProcessTable_scanProcs(NetBSDProcessTable* this) {
- const Machine* host = this->super.host;
+ const Machine* host = this->super.super.host;
const NetBSDMachine* nhost = (const NetBSDMachine*) host;
const Settings* settings = host->settings;
bool hideKernelThreads = settings->hideKernelThreads;

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