[collectd] [PATCH] utils_cmd_putval.c: Fixed a copy&paste error.

Sebastian Harl sh at tokkee.org
Tue Aug 28 19:05:19 CEST 2007


"unixsock plugin" is supposed to be "cmd putval".

Signed-off-by: Sebastian Harl <sh at tokkee.org>
---
 src/utils_cmd_putval.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/utils_cmd_putval.c b/src/utils_cmd_putval.c
index 7b8c70f..7cf0b6d 100644
--- a/src/utils_cmd_putval.c
+++ b/src/utils_cmd_putval.c
@@ -126,7 +126,7 @@ int handle_putval (FILE *fh, char **fields, int fields_num)
 
 	if (fields_num < 3)
 	{
-		DEBUG ("unixsock plugin: Wrong number of fields: %i",
+		DEBUG ("cmd putval: Wrong number of fields: %i",
 			       	fields_num);
 		fprintf (fh, "-1 Wrong number of fields: Got %i, "
 				"expected at least 3.\n",
@@ -140,7 +140,7 @@ int handle_putval (FILE *fh, char **fields, int fields_num)
 			&type, &type_instance);
 	if (status != 0)
 	{
-		DEBUG ("unixsock plugin: Cannot parse `%s'", fields[1]);
+		DEBUG ("cmd putval: Cannot parse `%s'", fields[1]);
 		fprintf (fh, "-1 Cannot parse identifier.\n");
 		fflush (fh);
 		return (-1);
-- 
1.5.2.1

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20070828/03e53a84/attachment.pgp 


More information about the collectd mailing list