From 909bb86f05c20f0ec6f5d55994065a293932ce21 Mon Sep 17 00:00:00 2001 From: Arnavion Date: Sat, 10 Aug 2019 17:17:45 -0700 Subject: Show N/A on unsupported platforms instead of 0KHz --- solaris/Platform.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'solaris') diff --git a/solaris/Platform.c b/solaris/Platform.c index a29fcb47..c180d988 100644 --- a/solaris/Platform.c +++ b/solaris/Platform.c @@ -203,6 +203,9 @@ 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; + return percent; } -- cgit v1.2.3