projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added library link check and addressed review comments
[collectd.git]
/
src
/
df.c
diff --git
a/src/df.c
b/src/df.c
index
dd90f24
..
db8e519
100644
(file)
--- a/
src/df.c
+++ b/
src/df.c
@@
-202,9
+202,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;
}