projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
apache plugin: modernize the code a bit
[collectd.git]
/
src
/
protocols.c
diff --git
a/src/protocols.c
b/src/protocols.c
index
b63dee9
..
a50539e
100644
(file)
--- a/
src/protocols.c
+++ b/
src/protocols.c
@@
-87,8
+87,7
@@
static int read_file(const char *path) {
fh = fopen(path, "r");
if (fh == NULL) {
- ERROR("protocols plugin: fopen (%s) failed: %s.", path,
- sstrerror(errno, key_buffer, sizeof(key_buffer)));
+ ERROR("protocols plugin: fopen (%s) failed: %s.", path, STRERRNO);
return -1;
}