git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Prepare for version 1.0.86.
[libguestfs.git]
/
daemon
/
wc.c
diff --git
a/daemon/wc.c
b/daemon/wc.c
index
93d4ebb
..
fe27bf1
100644
(file)
--- a/
daemon/wc.c
+++ b/
daemon/wc.c
@@
-28,7
+28,7
@@
#include "actions.h"
static int
#include "actions.h"
static int
-wc (char *flag, const char *path)
+wc (c
onst c
har *flag, const char *path)
{
char *buf;
char *out, *err;
{
char *buf;
char *out, *err;
@@
-60,7
+60,7
@@
wc (char *flag, const char *path)
/* Parse the number. */
if (sscanf (out, "%d", &r) != 1) {
/* 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;
}
free (out);
return -1;
}