projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
collectd.conf(5): Added a note about that trailing whitespace bug.
[collectd.git]
/
src
/
cpufreq.c
diff --git
a/src/cpufreq.c
b/src/cpufreq.c
index
b26c35e
..
ba0149a
100644
(file)
--- a/
src/cpufreq.c
+++ b/
src/cpufreq.c
@@
-123,6
+123,7
@@
static void cpufreq_read (void)
if (fgets (buffer, 16, fp) == NULL)
{
syslog (LOG_WARNING, "cpufreq: fgets: %s", strerror (errno));
+ fclose (fp);
return;
}