summaryrefslogtreecommitdiffstats
path: root/dragonflybsd/Platform.c
diff options
context:
space:
mode:
Diffstat (limited to 'dragonflybsd/Platform.c')
-rw-r--r--dragonflybsd/Platform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dragonflybsd/Platform.c b/dragonflybsd/Platform.c
index 3b8e1a0d..e4e78e38 100644
--- a/dragonflybsd/Platform.c
+++ b/dragonflybsd/Platform.c
@@ -168,7 +168,7 @@ double Platform_setCPUValues(Meter* this, int cpu) {
percent = CLAMP(percent, 0.0, 100.0);
if (isnan(percent)) percent = 0.0;
- v[CPU_METER_FREQUENCY] = -1;
+ v[CPU_METER_FREQUENCY] = NAN;
return percent;
}