summaryrefslogtreecommitdiff
path: root/desktop/icewm/patches/acpustatus_read_cpuinfo_cur_freq.patch
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/icewm/patches/acpustatus_read_cpuinfo_cur_freq.patch')
-rw-r--r--desktop/icewm/patches/acpustatus_read_cpuinfo_cur_freq.patch11
1 files changed, 0 insertions, 11 deletions
diff --git a/desktop/icewm/patches/acpustatus_read_cpuinfo_cur_freq.patch b/desktop/icewm/patches/acpustatus_read_cpuinfo_cur_freq.patch
deleted file mode 100644
index 580a64d58f..0000000000
--- a/desktop/icewm/patches/acpustatus_read_cpuinfo_cur_freq.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/acpustatus.cc.orig 2010-10-31 17:09:36.000000000 +0300
-+++ src/acpustatus.cc 2013-08-26 00:38:16.868170497 +0400
-@@ -323,7 +323,7 @@
- int fd;
- float cpufreq = 0;
-
-- sprintf(namebuf, "/sys/devices/system/cpu/cpu%d/cpufreq/scaling_cur_freq", cpu);
-+ sprintf(namebuf, "/sys/devices/system/cpu/cpu%d/cpufreq/cpuinfo_cur_freq", cpu);
- fd = open(namebuf, O_RDONLY);
- if (fd != -1) {
- int len = read(fd, buf, sizeof(buf) - 1);