X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=daemon%2Ffallocate.c;fp=daemon%2Ffallocate.c;h=20a75e67f5f3218d1ee108c9ef082e75afc7da73;hp=eb8414571f087676c4e3a398f43a5d0d87b36000;hb=9b0ab841856ed7168171f6dceaede88dc9fbb9b2;hpb=29e7b9908ea6a4c2a864955e73d5b1d7d64f1fc8 diff --git a/daemon/fallocate.c b/daemon/fallocate.c index eb84145..20a75e6 100644 --- a/daemon/fallocate.c +++ b/daemon/fallocate.c @@ -36,7 +36,7 @@ do_fallocate (const char *path, int len) fd = open (path, O_WRONLY | O_CREAT | O_TRUNC | O_NOCTTY, 0666); CHROOT_OUT; if (fd == -1) { - reply_with_perror (path); + reply_with_perror ("failed to open %s", path); return -1; }