projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dpdk: fix utils_dpdk.c clang issue
[collectd.git]
/
src
/
rrdcached.c
diff --git
a/src/rrdcached.c
b/src/rrdcached.c
index
8287013
..
9f76f23
100644
(file)
--- a/
src/rrdcached.c
+++ b/
src/rrdcached.c
@@
-424,9
+424,7
@@
static int rc_write(const data_set_t *ds, const value_list_t *vl,
status = stat(filename, &statbuf);
if (status != 0) {
if (errno != ENOENT) {
status = stat(filename, &statbuf);
if (status != 0) {
if (errno != ENOENT) {
- char errbuf[1024];
- ERROR("rrdcached plugin: stat (%s) failed: %s", filename,
- sstrerror(errno, errbuf, sizeof(errbuf)));
+ ERROR("rrdcached plugin: stat (%s) failed: %s", filename, STRERRNO);
return -1;
}
return -1;
}