From: Sebastian Harl Date: Thu, 30 Jul 2009 15:33:43 +0000 (+0200) Subject: src/plugin.c: Fixed a function name in an error message. X-Git-Tag: collectd-4.9.0~19 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=05cbd5a7444e64c6d921dca93bc713d1fb0769d3;p=collectd.git src/plugin.c: Fixed a function name in an error message. --- diff --git a/src/plugin.c b/src/plugin.c index 538ebe55..5ca009c4 100644 --- a/src/plugin.c +++ b/src/plugin.c @@ -173,7 +173,7 @@ static int register_callback (llist_t **list, /* {{{ */ *list = llist_create (); if (*list == NULL) { - ERROR ("plugin: create_register_callback: " + ERROR ("plugin: register_callback: " "llist_create failed."); destroy_callback (cf); return (-1); @@ -183,7 +183,7 @@ static int register_callback (llist_t **list, /* {{{ */ key = strdup (name); if (key == NULL) { - ERROR ("plugin: create_register_callback: strdup failed."); + ERROR ("plugin: register_callback: strdup failed."); destroy_callback (cf); return (-1); } @@ -194,7 +194,7 @@ static int register_callback (llist_t **list, /* {{{ */ le = llentry_create (key, cf); if (le == NULL) { - ERROR ("plugin: create_register_callback: " + ERROR ("plugin: register_callback: " "llentry_create failed."); free (key); destroy_callback (cf);