projects
/
collection4.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
collection.conf: Configure the "memory" graph.
[collection4.git]
/
filesystem.c
diff --git
a/filesystem.c
b/filesystem.c
index
ba57249
..
a5eeb81
100644
(file)
--- a/
filesystem.c
+++ b/
filesystem.c
@@
-8,8
+8,6
@@
#include <sys/stat.h>
#include <dirent.h>
#include <sys/stat.h>
#include <dirent.h>
-#define DATA_DIR "/var/lib/collectd/rrd"
-
#include "filesystem.h"
struct fs_scan_dir_data_s /* {{{ */
#include "filesystem.h"
struct fs_scan_dir_data_s /* {{{ */
@@
-92,7
+90,7
@@
static int foreach_dir (const char *dir, /* {{{ */
{
DIR *dh;
struct dirent *entry;
{
DIR *dh;
struct dirent *entry;
- int status;
+ int status
= 0
;
if (callback == NULL)
return (EINVAL);
if (callback == NULL)
return (EINVAL);