X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=daemon%2Ffill.c;h=5a391aac70a738c5fc2b35fbf2a4a6d87d3529ce;hp=b1b0f5e7d21e34aa5cdd1e3e889a5cdc637f9f67;hb=b68c030adfdbefe65bc9ecdd673844c01bddb32a;hpb=540c85a1102c5876265502f8ae287ea697834d20 diff --git a/daemon/fill.c b/daemon/fill.c index b1b0f5e..5a391aa 100644 --- a/daemon/fill.c +++ b/daemon/fill.c @@ -20,6 +20,7 @@ #include #include +#include #include #include @@ -37,12 +38,12 @@ do_fill (int c, int len, const char *path) char buf[BUFSIZ]; if (c < 0 || c > 255) { - reply_with_error ("fill: %d: byte number must be in range 0..255", c); + reply_with_error ("%d: byte number must be in range 0..255", c); return -1; } memset (buf, c, BUFSIZ); if (len < 0) { - reply_with_error ("fill: %d: length is < 0", len); + reply_with_error ("%d: length is < 0", len); return -1; } len_sz = (size_t) len;