From: Marc Fournier Date: Tue, 26 May 2015 13:41:47 +0000 (+0200) Subject: Filter chains helper: minor cleanups X-Git-Tag: collectd-5.5.0~3 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=68923fc80953be8b3b7e777e8cedc605ae41ef4f;p=collectd.git Filter chains helper: minor cleanups This is a couple of trivial followups to 809a8973. --- diff --git a/src/daemon/filter_chain.c b/src/daemon/filter_chain.c index 32ce7367..0fd4a73e 100644 --- a/src/daemon/filter_chain.c +++ b/src/daemon/filter_chain.c @@ -766,7 +766,7 @@ static int fc_bit_write_invoke (const data_set_t *ds, /* {{{ */ "the `%s' plugin failed with status %i.", plugin_list[i].plugin, status); - plugin_log_available_writers (); + plugin_log_available_writers (); } else { diff --git a/src/daemon/plugin.c b/src/daemon/plugin.c index b69e65b6..3d364458 100644 --- a/src/daemon/plugin.c +++ b/src/daemon/plugin.c @@ -1448,9 +1448,9 @@ int plugin_unregister_read (const char *name) /* {{{ */ return (0); } /* }}} int plugin_unregister_read */ -void plugin_log_available_writers () +void plugin_log_available_writers (void) { - log_list_callbacks (&list_write, "Available writers:"); + log_list_callbacks (&list_write, "Available write targets:"); } static int compare_read_func_group (llentry_t *e, void *ud) /* {{{ */ diff --git a/src/daemon/plugin.h b/src/daemon/plugin.h index beeb5761..70a22326 100644 --- a/src/daemon/plugin.h +++ b/src/daemon/plugin.h @@ -330,7 +330,7 @@ int plugin_unregister_notification (const char *name); * This function can be called to output a list of _all_ registered * writers to the logfacility. * Since some writers dynamically build their name it can be hard for - * the configuring person to know it. This function will fill this gap. + * the configuring person to know it. This function will fill this gap. */ void plugin_log_available_writers ();