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 9d74c57..50bd771 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;