#include "collectd.h"
-#include "common.h"
#include "plugin.h"
-#include "utils_ignorelist.h"
-#include "utils_mount.h"
+#include "utils/common/common.h"
+#include "utils/ignorelist/ignorelist.h"
+#include "utils/mount/mount.h"
static char const *config_keys[] = {"CGroup", "IgnoreSelected"};
static int config_keys_num = STATIC_ARRAY_SIZE(config_keys);
/* Strip colon off the first column, if found */
if (key[key_len - 1] == ':')
- key[key_len - 1] = 0;
+ key[key_len - 1] = '\0';
status = parse_value(fields[1], &value, DS_TYPE_DERIVE);
if (status != 0)