projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
418249b
)
Changed `cpuinfo_cur_freq' to `scaling_cur_freq'
author
octo
<octo>
Fri, 27 Jan 2006 19:05:09 +0000
(19:05 +0000)
committer
octo
<octo>
Fri, 27 Jan 2006 19:05:09 +0000
(19:05 +0000)
src/cpufreq.c
patch
|
blob
|
history
diff --git
a/src/cpufreq.c
b/src/cpufreq.c
index
9d74c57
..
50bd771
100644
(file)
--- 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;