From: Sebastian Harl Date: Mon, 16 Feb 2009 14:07:27 +0000 (+0100) Subject: src/filter_chain.c: Fixed typos in warning / error messages. X-Git-Tag: collectd-4.6.0~8 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3ae8921a72a7e99bd5d50a03b29de4f5550c5395;p=collectd.git src/filter_chain.c: Fixed typos in warning / error messages. --- diff --git a/src/filter_chain.c b/src/filter_chain.c index e7f51d88..70a37bf6 100644 --- a/src/filter_chain.c +++ b/src/filter_chain.c @@ -331,7 +331,7 @@ static int fc_config_add_target (fc_target_t **targets_head, /* {{{ */ t = (fc_target_t *) malloc (sizeof (*t)); if (t == NULL) { - ERROR ("fc_config_add_match: malloc failed."); + ERROR ("fc_config_add_target: malloc failed."); return (-1); } memset (t, 0, sizeof (*t)); @@ -346,7 +346,7 @@ static int fc_config_add_target (fc_target_t **targets_head, /* {{{ */ status = (*t->proc.create) (ci, &t->user_data); if (status != 0) { - WARNING ("Filter subsystem: Failed to create a %s match.", + WARNING ("Filter subsystem: Failed to create a %s target.", t->name); fc_free_targets (t); return (-1);