X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=daemon%2Fstat.c;h=0b3be4d9d49ea846309d2c9ed1ca6c9803d759bf;hb=607dcadd2dc7883865ada5ae158e750f19dfff67;hp=c939e8ed95dfd93a10e723d22f9092eaf4f6dce5;hpb=e9c37113104c1cfb234535adc9b52ad3880a41ce;p=libguestfs.git diff --git a/daemon/stat.c b/daemon/stat.c index c939e8e..0b3be4d 100644 --- a/daemon/stat.c +++ b/daemon/stat.c @@ -42,7 +42,7 @@ do_stat (const char *path) CHROOT_OUT; if (r == -1) { - reply_with_perror ("stat"); + reply_with_perror ("%s", path); return NULL; } @@ -89,7 +89,7 @@ do_lstat (const char *path) CHROOT_OUT; if (r == -1) { - reply_with_perror ("stat"); + reply_with_perror ("%s", path); return NULL; }