Code

Changed `cpuinfo_cur_freq' to `scaling_cur_freq'
authorocto <octo>
Fri, 27 Jan 2006 19:05:09 +0000 (19:05 +0000)
committerocto <octo>
Fri, 27 Jan 2006 19:05:09 +0000 (19:05 +0000)
src/cpufreq.c

index 9d74c57680b22f423659e3d4f27b43bb45a4f251..50bd771f0ddcba686e8b24512045f640e434baff 100644 (file)
@@ -110,7 +110,7 @@ static void cpufreq_read (void)
 
        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;