From: Sebastian Harl Date: Tue, 28 Aug 2007 17:05:19 +0000 (+0200) Subject: utils_cmd_putval.c: Fixed a copy&paste error. X-Git-Tag: collectd-4.1.0~22 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9627d9698d61a86147fbefda0f491ec93257bb0f;p=collectd.git utils_cmd_putval.c: Fixed a copy&paste error. "unixsock plugin" is supposed to be "cmd putval". Signed-off-by: Sebastian Harl Signed-off-by: Florian Forster --- diff --git a/src/utils_cmd_putval.c b/src/utils_cmd_putval.c index 7b8c70f8..7cf0b6da 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);