From 912774f797cddcf152ad2ed13af4f7e43ac2da50 Mon Sep 17 00:00:00 2001 From: octo Date: Fri, 27 Jan 2006 19:05:09 +0000 Subject: [PATCH] Changed `cpuinfo_cur_freq' to `scaling_cur_freq' --- src/cpufreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpufreq.c b/src/cpufreq.c index 9d74c576..50bd771f 100644 --- a/src/cpufreq.c +++ b/src/cpufreq.c @@ -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; -- 2.30.2