From f01c3e143c4369f11c130dbb0f0009a21f436574 Mon Sep 17 00:00:00 2001 From: Pavel Rochnyack Date: Sun, 15 May 2016 03:51:36 +0600 Subject: [PATCH] perl plugin: Fixed Collectd::plugin_call_all function name im DEBUG()/ERROR() --- bindings/perl/lib/Collectd.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bindings/perl/lib/Collectd.pm b/bindings/perl/lib/Collectd.pm index 576e5f43..ddacf024 100644 --- a/bindings/perl/lib/Collectd.pm +++ b/bindings/perl/lib/Collectd.pm @@ -180,13 +180,13 @@ sub plugin_call_all { } if (TYPE_LOG != $type) { - DEBUG ("Collectd::plugin_call: type = \"$type\" (" + DEBUG ("Collectd::plugin_call_all: type = \"$type\" (" . $types{$type} . "), args=\"" . join(', ', map { defined($_) ? $_ : '' } @_) . "\""); } if (! defined $plugins[$type]) { - ERROR ("Collectd::plugin_call: unknown type \"$type\""); + ERROR ("Collectd::plugin_call_all: unknown type \"$type\""); return; } -- 2.11.0