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 #2722 from elfiesmelfie/increase_buffer
[collectd.git]
/
src
/
df.c
diff --git
a/src/df.c
b/src/df.c
index
688c322
..
e1d5b51
100644
(file)
--- a/
src/df.c
+++ b/
src/df.c
@@
-203,9
+203,7
@@
static int df_read(void) {
continue;
if (STATANYFS(mnt_ptr->dir, &statbuf) < 0) {
continue;
if (STATANYFS(mnt_ptr->dir, &statbuf) < 0) {
- char errbuf[1024];
- ERROR(STATANYFS_STR "(%s) failed: %s", mnt_ptr->dir,
- sstrerror(errno, errbuf, sizeof(errbuf)));
+ ERROR(STATANYFS_STR "(%s) failed: %s", mnt_ptr->dir, STRERRNO);
continue;
}
continue;
}