projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
zfs_arc plugin: fix indentation
[collectd.git]
/
src
/
fhcount.c
diff --git
a/src/fhcount.c
b/src/fhcount.c
index
4c409b5
..
666dacc
100644
(file)
--- a/
src/fhcount.c
+++ b/
src/fhcount.c
@@
-98,6
+98,7
@@
static int fhcount_read(void) {
}
if (fgets(buffer, buffer_len, fp) == NULL) {
ERROR("fhcount: fgets: %s", sstrerror(errno, errbuf, sizeof(errbuf)));
+ fclose(fp);
return(EXIT_FAILURE);
}
fclose(fp);