vl.values = &value;
vl.values_len = 1;
- sstrncpy(vl.host, hostname_g, sizeof(vl.host));
sstrncpy(vl.plugin, "fscache", sizeof(vl.plugin));
sstrncpy(vl.plugin_instance, section, sizeof(vl.plugin_instance));
sstrncpy(vl.type, "fscache_stat", sizeof(vl.type));
} else {
printf("cant open file\n");
- return (-1);
+ return -1;
}
- return (0);
+ return 0;
}
void module_register(void) {
plugin_register_read("fscache", fscache_read);
} /* void module_register */
-
-/* vim: set sw=4 sts=4 et : */