utils_cmd_putval.c: Fixed a copy&paste error.
authorSebastian Harl <sh@tokkee.org>
Tue, 28 Aug 2007 17:05:19 +0000 (19:05 +0200)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Tue, 28 Aug 2007 22:37:46 +0000 (00:37 +0200)
"unixsock plugin" is supposed to be "cmd putval".

Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@leeloo.lan.home.verplant.org>
src/utils_cmd_putval.c

index 7b8c70f..7cf0b6d 100644 (file)
@@ -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);