Fix build on BSD

This commit is contained in:
Linus Dierheimer committed 2022-09-29 12:24:00 +02:00
1 parent c8486610f6
commit b8656d5e12
1 file changed
+1 -1
+1 -1
View File
@@ -17,7 +17,7 @@ static void detectRam(FFMemoryStorage* ram)
return;
}
memory->ram.bytesUsed = memory->ram.bytesTotal
ram->bytesUsed = ram->bytesTotal
- (uint64_t) ffSysctlGetInt64("vm.stats.vm.v_free_count", 0) * pageSize
- (uint64_t) ffSysctlGetInt64("vm.stats.vm.v_inactive_count", 0) * pageSize
;