X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fceph.c;h=8bee8e88e42085caf357d611e51160cfd7a3b7e0;hb=3bd15a49e44e568449ea2909be986ef6940eaffb;hp=2331e33df6881406e82ad4f2a7e5073614c9a84d;hpb=76fb10bf790e35dd6caca13c4bb5d0f86c517370;p=collectd.git diff --git a/src/ceph.c b/src/ceph.c index 2331e33d..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);