summarylogtreecommitdiffstats
path: root/fix-dbus.patch
diff options
context:
space:
mode:
Diffstat (limited to 'fix-dbus.patch')
-rw-r--r--fix-dbus.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/fix-dbus.patch b/fix-dbus.patch
new file mode 100644
index 000000000000..b83766d4a2de
--- /dev/null
+++ b/fix-dbus.patch
@@ -0,0 +1,12 @@
+--- a/bin/cpupower-gui-helper.py.in
++++ b/bin/cpupower-gui-helper.py.in
+@@ -229,7 +229,7 @@
+ )
+ def update_cpu_settings(self, cpu, freq_min_hw, freq_max_hw, governor, sender=None):
+ if self._is_authorized(sender):
+- ret = self._update_cpu(cpu, freq_min_hw, freq_max_hw, governor)
++ ret = self._update_cpu(int(cpu), int(freq_min_hw), int(freq_max_hw), str(governor))
+ return ret
+ else:
+ return -1
+