X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=daemon%2Fwc.c;h=fe27bf19ea60522e3b101d9ada7b170216e3e05b;hp=93d4ebbd649a9c1da74b5af876ac17a1da871633;hb=7a4ec57e54ab98de05438bff838a7531391d3965;hpb=84fc760439e82e6b3616abd0d1f9bd7d7eb01ec0 diff --git a/daemon/wc.c b/daemon/wc.c index 93d4ebb..fe27bf1 100644 --- a/daemon/wc.c +++ b/daemon/wc.c @@ -28,7 +28,7 @@ #include "actions.h" static int -wc (char *flag, const char *path) +wc (const char *flag, const char *path) { char *buf; char *out, *err; @@ -60,7 +60,7 @@ wc (char *flag, const char *path) /* Parse the number. */ if (sscanf (out, "%d", &r) != 1) { - reply_with_error ("wc: cannot parse number: %s", out); + reply_with_error ("cannot parse number: %s", out); free (out); return -1; }