summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 418249b)
raw | patch | inline | side by side (parent: 418249b)
author | octo <octo> | |
Fri, 27 Jan 2006 19:05:09 +0000 (19:05 +0000) | ||
committer | octo <octo> | |
Fri, 27 Jan 2006 19:05:09 +0000 (19:05 +0000) |
src/cpufreq.c | patch | blob | history |
diff --git a/src/cpufreq.c b/src/cpufreq.c
index 9d74c57680b22f423659e3d4f27b43bb45a4f251..50bd771f0ddcba686e8b24512045f640e434baff 100644 (file)
--- a/src/cpufreq.c
+++ b/src/cpufreq.c
for (i = 0; i < num_cpu; i++)
{
- status = snprintf (filename, BUFSIZE, "/sys/devices/system/cpu/cpu%d/cpufreq/cpuinfo_cur_freq", i);
+ status = snprintf (filename, BUFSIZE, "/sys/devices/system/cpu/cpu%d/cpufreq/scaling_cur_freq", i);
if (status < 1 || status >= BUFSIZE)
return;