diff options
author | rbuj <[email protected]> | 2020-07-30 21:48:52 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2020-08-03 18:38:08 +0200 |
commit | 1d33457ebae8cd471a1d1d02cd8c8175e365dea6 (patch) | |
tree | 150fe0e225ebce9c2e7570e8d69eea8f3f74691a | |
parent | 024fb9cbc9eae7043c577d63803ad8caee2e03d6 (diff) | |
download | mate-applets-1d33457ebae8cd471a1d1d02cd8c8175e365dea6.tar.bz2 mate-applets-1d33457ebae8cd471a1d1d02cd8c8175e365dea6.tar.xz |
cpufreq: -1 indicates error obtaining max frequency
-rw-r--r-- | cpufreq/src/cpufreq-monitor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpufreq/src/cpufreq-monitor.c b/cpufreq/src/cpufreq-monitor.c index 451ffd9f..23c41d8e 100644 --- a/cpufreq/src/cpufreq-monitor.c +++ b/cpufreq/src/cpufreq-monitor.c @@ -125,7 +125,7 @@ cpufreq_monitor_class_init (CPUFreqMonitorClass *klass) g_param_spec_int ("max-frequency", "MaxFrequency", "The max cpu frequency", - 0, + -1, G_MAXINT, 0, G_PARAM_READWRITE)); |