projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
virt plugin: Support new metric from libvirt-5.0.0 virDomainMemoryStats()
[collectd.git]
/
src
/
utils_fbhash.c
diff --git
a/src/utils_fbhash.c
b/src/utils_fbhash.c
index
366b44b
..
7c342e5
100644
(file)
--- a/
src/utils_fbhash.c
+++ b/
src/utils_fbhash.c
@@
-28,7
+28,7
@@
#include "plugin.h"
#include "plugin.h"
-#include "utils
_
avltree.h"
+#include "utils
/avltree/
avltree.h"
#include "utils_fbhash.h"
struct fbhash_s {
#include "utils_fbhash.h"
struct fbhash_s {
@@
-102,7
+102,7
@@
static int fbh_read_file(fbhash_t *h) /* {{{ */
char *key_copy;
char *value_copy;
char *key_copy;
char *value_copy;
- buffer[sizeof(buffer) - 1] =
0
;
+ buffer[sizeof(buffer) - 1] =
'\0'
;
len = strlen(buffer);
/* Remove trailing newline characters. */
len = strlen(buffer);
/* Remove trailing newline characters. */