X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=daemon%2Fstat.c;h=e245323430321c1d008670faf5575598df11676b;hp=c939e8ed95dfd93a10e723d22f9092eaf4f6dce5;hb=11be64049ba3ce36e1be297d2d6f54abca079742;hpb=e9c37113104c1cfb234535adc9b52ad3880a41ce 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; }