diff --git a/openbsd/Platform.c b/openbsd/Platform.c index 25d53cc33332697b3f8d3eb06f7515485ed84ac6..1bfdd4caf5ab1609318ade02ff25831b57cc3823 100644 --- a/openbsd/Platform.c +++ b/openbsd/Platform.c @@ -38,6 +38,7 @@ in the source distribution for its full text. /*{ #include "Action.h" #include "BatteryMeter.h" +#include "SignalsPanel.h" extern ProcessFieldData Process_fields[]; @@ -231,7 +232,7 @@ double Platform_setCPUValues(Meter* this, int cpu) { if (perc <= 100. && perc >= 0.) { return perc; } else { - return 12.34; + return 0.; } } diff --git a/openbsd/Platform.h b/openbsd/Platform.h index 971c7bf521ce130133ea345b3d5a7359d82e4e70..63c7dda23b0b3705d1322def5b813b01e5589bf4 100644 --- a/openbsd/Platform.h +++ b/openbsd/Platform.h @@ -36,6 +36,9 @@ extern ProcessField Platform_defaultFields[]; extern int Platform_numberOfFields; +/* + * See /usr/include/sys/signal.h + */ extern SignalItem Platform_signals[]; extern unsigned int Platform_numberOfSignals;