projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge pull request #1853 from rubenk/python-plugin-fix-building-on-osx
[collectd.git]
/
src
/
irq.c
diff --git
a/src/irq.c
b/src/irq.c
index
6afacf0
..
0c36379
100644
(file)
--- a/
src/irq.c
+++ b/
src/irq.c
@@
-22,6
+22,7
@@
**/
#include "collectd.h"
+
#include "common.h"
#include "plugin.h"
#include "configfile.h"
@@
-120,6
+121,7
@@
static int irq_read (void)
} else {
ERROR ("irq plugin: unable to get CPU count from first line "
"of /proc/interrupts");
+ fclose (fh);
return (-1);
}