projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
uuid plugin: only look in /sys on Linux
[collectd.git]
/
src
/
fscache.c
diff --git
a/src/fscache.c
b/src/fscache.c
index
8fbd271
..
332a32c
100644
(file)
--- a/
src/fscache.c
+++ b/
src/fscache.c
@@
-20,6
+20,7
@@
**/
#include "collectd.h"
**/
#include "collectd.h"
+
#include "common.h"
#include "plugin.h"
#include <stdio.h> /* a header needed for FILE */
#include "common.h"
#include "plugin.h"
#include <stdio.h> /* a header needed for FILE */
@@
-175,7
+176,7
@@
static void fscache_read_stats_file (FILE *fh)
section_len--;
section[section_len] = 0;
}
section_len--;
section[section_len] = 0;
}
- if (section_len
<
= 0)
+ if (section_len
=
= 0)
continue;
fields_num = strsplit (lineptr, fields, STATIC_ARRAY_SIZE (fields));
continue;
fields_num = strsplit (lineptr, fields, STATIC_ARRAY_SIZE (fields));