From bb458cd29afa10a63385efe6168dcc95d039612e Mon Sep 17 00:00:00 2001 From: octo Date: Sat, 28 Jan 2006 08:33:32 +0000 Subject: [PATCH] Changed `cpuinfo' -> `scaling' in the manpage and another place in the plugin I had missed.. --- src/collectd.pod | 2 +- src/cpufreq.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/collectd.pod b/src/collectd.pod index de944b49..09aa5906 100644 --- a/src/collectd.pod +++ b/src/collectd.pod @@ -350,7 +350,7 @@ on the other hand listens on B interfaces. =head2 cpufreq -This module reads F (for +This module reads F (for the first CPU installed) to get the current CPU frequency. If this file does not exist make sure B (L) or a similar tool is installed. diff --git a/src/cpufreq.c b/src/cpufreq.c index 50bd771f..22877b4d 100644 --- a/src/cpufreq.c +++ b/src/cpufreq.c @@ -57,7 +57,7 @@ static void cpufreq_init (void) while (1) { - status = snprintf (filename, BUFSIZE, "/sys/devices/system/cpu/cpu%d/cpufreq/cpuinfo_cur_freq", num_cpu); + status = snprintf (filename, BUFSIZE, "/sys/devices/system/cpu/cpu%d/cpufreq/scaling_cur_freq", num_cpu); if (status < 1 || status >= BUFSIZE) break; -- 2.11.0