summaryrefslogtreecommitdiffstats
path: root/dragonflybsd
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2023-05-09 15:11:11 +0200
committerBenny Baumann <BenBE@geshi.org>2023-05-09 15:17:12 +0200
commite40daf929e8416f8ca272fd286156a0639bb1dbd (patch)
tree5227c2924733432f5580eb83f5aa4452cb538d92 /dragonflybsd
parentab0f68c20f2e77ef418a19b80222136a1ba885be (diff)
Build fixes for DragonFlyBSD
Diffstat (limited to 'dragonflybsd')
-rw-r--r--dragonflybsd/DragonFlyBSDMachine.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/dragonflybsd/DragonFlyBSDMachine.c b/dragonflybsd/DragonFlyBSDMachine.c
index fc7eb3b0..6831fa3d 100644
--- a/dragonflybsd/DragonFlyBSDMachine.c
+++ b/dragonflybsd/DragonFlyBSDMachine.c
@@ -45,7 +45,7 @@ Machine* Machine_new(UsersTable* usersTable, uid_t userId) {
DragonFlyBSDMachine* this = xCalloc(1, sizeof(DragonFlyBSDMachine));
Machine* super = &this->super;
- Machine_init(this, usersTable, userId);
+ Machine_init(super, usersTable, userId);
// physical memory in system: hw.physmem
// physical page size: hw.pagesize
@@ -119,9 +119,9 @@ Machine* Machine_new(UsersTable* usersTable, uid_t userId) {
}
void Machine_delete(Machine* super) {
- const DragonFlyBSDMachine* this = (DragonFlyBSDProcessList*) super;
+ const DragonFlyBSDMachine* this = (const DragonFlyBSDMachine*) super;
- Machine_done(this);
+ Machine_done(super);
if (this->kd) {
kvm_close(this->kd);

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