src/plugin.c: Fixed a typo.
[collectd.git] / src / plugin.c
index da2e5e2..7a89508 100644 (file)
@@ -690,8 +690,7 @@ int plugin_register_complex_read (const char *name,
                read_heap = c_heap_create (plugin_compare_read_func);
                if (read_heap == NULL)
                {
-                       ERROR ("plugin_register_complex_read: "
-                                       "c_heap_create failed.");
+                       ERROR ("plugin_register_read: c_heap_create failed.");
                        return (-1);
                }
        }