summaryrefslogtreecommitdiffstats
path: root/dragonflybsd/Platform.c
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2024-01-19 20:57:33 +0100
committercgzones <cgzones@googlemail.com>2024-01-20 11:51:47 +0100
commit7639d62459b306af0ba2f1f6d1cc549c6982944d (patch)
treea27b44b0e55f2804ceba0077476033334eec753a /dragonflybsd/Platform.c
parent91990b1a34927a4136a85e4ff9adcdbfa500286a (diff)
DragonFlyBSD: build fixes
Diffstat (limited to 'dragonflybsd/Platform.c')
-rw-r--r--dragonflybsd/Platform.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/dragonflybsd/Platform.c b/dragonflybsd/Platform.c
index 25afa8b1..86cda9d8 100644
--- a/dragonflybsd/Platform.c
+++ b/dragonflybsd/Platform.c
@@ -34,6 +34,7 @@ in the source distribution for its full text.
#include "TasksMeter.h"
#include "UptimeMeter.h"
#include "XUtils.h"
+#include "dragonflybsd/DragonFlyBSDMachine.h"
#include "dragonflybsd/DragonFlyBSDProcess.h"
#include "dragonflybsd/DragonFlyBSDProcessTable.h"
#include "generic/fdstat_sysctl.h"
@@ -193,7 +194,7 @@ double Platform_setCPUValues(Meter* this, unsigned int cpu) {
v[CPU_METER_NICE] = cpuData->nicePercent;
v[CPU_METER_NORMAL] = cpuData->userPercent;
- if (super->settings->detailedCPUTime) {
+ if (host->settings->detailedCPUTime) {
v[CPU_METER_KERNEL] = cpuData->systemPercent;
v[CPU_METER_IRQ] = cpuData->irqPercent;
this->curItems = 4;

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