From: octo Date: Fri, 27 Jan 2006 19:05:09 +0000 (+0000) Subject: Changed `cpuinfo_cur_freq' to `scaling_cur_freq' X-Git-Tag: collectd-3.7.0~33 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=912774f797cddcf152ad2ed13af4f7e43ac2da50;p=collectd.git Changed `cpuinfo_cur_freq' to `scaling_cur_freq' --- 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;