X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fceph.c;h=8bee8e88e42085caf357d611e51160cfd7a3b7e0;hb=3bd15a49e44e568449ea2909be986ef6940eaffb;hp=4e435b3e251e5ae41c5bd63af05511f90cf3206a;hpb=2e632b0929fb957fd686231658bc2999fdfb4b20;p=collectd.git diff --git a/src/ceph.c b/src/ceph.c index 4e435b3e..8bee8e88 100644 --- a/src/ceph.c +++ b/src/ceph.c @@ -418,7 +418,7 @@ static void ceph_daemon_free(struct ceph_daemon *d) { } /* compact_ds_name removed the special characters ":", "_", "-" and "+" from the - * intput string. Characters following these special characters are capitalized. + * input string. Characters following these special characters are capitalized. * Trailing "+" and "-" characters are replaces with the strings "Plus" and * "Minus". */ static int compact_ds_name(char *buffer, size_t buffer_size, char const *src) { @@ -634,7 +634,7 @@ static int cc_add_daemon_config(oconfig_item_t *ci) { if ((ci->values_num != 1) || (ci->values[0].type != OCONFIG_TYPE_STRING)) { WARNING("ceph plugin: `Daemon' blocks need exactly one string " "argument."); - return (-1); + return -1; } ret = cc_handle_str(ci, cd.name, DATA_MAX_NAME_LEN); @@ -1446,4 +1446,3 @@ void module_register(void) { plugin_register_read("ceph", ceph_read); plugin_register_shutdown("ceph", ceph_shutdown); } -/* vim: set sw=4 sts=4 et : */