X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=daemon%2Fstat.c;h=e245323430321c1d008670faf5575598df11676b;hb=e2249b7ce1dd0a2f8f110e0e47aca397185a6373;hp=c939e8ed95dfd93a10e723d22f9092eaf4f6dce5;hpb=e9c37113104c1cfb234535adc9b52ad3880a41ce;p=libguestfs.git diff --git a/daemon/stat.c b/daemon/stat.c index c939e8e..e245323 100644 --- a/daemon/stat.c +++ b/daemon/stat.c @@ -26,7 +26,7 @@ #include #include -#include "../src/guestfs_protocol.h" +#include "guestfs_protocol.h" #include "daemon.h" #include "actions.h" @@ -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; }