summaryrefslogtreecommitdiffstats
path: root/openbsd/OpenBSDMachine.c
diff options
context:
space:
mode:
authorSamuel Venable <samuelvenable@hotmail.com>2023-08-08 03:49:54 -0700
committerBenBE <BenBE@geshi.org>2024-01-09 07:29:52 +0100
commit71021b2d8beb98877fb4646db7e6faf926e30204 (patch)
tree0b92c020d8f928db9dd278f6aa2758a64c3353c4 /openbsd/OpenBSDMachine.c
parent7bf8f02de27fe2b4feba05104c9a335d422b1641 (diff)
Attempt to "Fix" OpenBSD Build
Co-authored-by: Benny Baumann <BenBE@geshi.org>
Diffstat (limited to 'openbsd/OpenBSDMachine.c')
-rw-r--r--openbsd/OpenBSDMachine.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsd/OpenBSDMachine.c b/openbsd/OpenBSDMachine.c
index 0edb90be..0ff893b5 100644
--- a/openbsd/OpenBSDMachine.c
+++ b/openbsd/OpenBSDMachine.c
@@ -98,7 +98,7 @@ Machine* Machine_new(UsersTable* usersTable, uid_t userId) {
Machine_init(super, usersTable, userId);
- OpenBSDProcessTable_updateCPUcount(this);
+ OpenBSDMachine_updateCPUcount(this);
size = sizeof(this->fscale);
if (sysctl(fmib, 2, &this->fscale, &size, NULL, 0) < 0 || this->fscale <= 0) {
@@ -116,7 +116,7 @@ Machine* Machine_new(UsersTable* usersTable, uid_t userId) {
this->cpuSpeed = -1;
- return this;
+ return super;
}
void Machine_delete(Machine* super) {

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