X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=daemon%2Fstat.c;h=22592bb2dd2269a93ec9ba0a7e022ca88ac6f255;hb=8bc6e9d6a89672bbe1e7469774abe889354deb67;hp=c939e8ed95dfd93a10e723d22f9092eaf4f6dce5;hpb=e9c37113104c1cfb234535adc9b52ad3880a41ce;p=libguestfs.git diff --git a/daemon/stat.c b/daemon/stat.c index c939e8e..22592bb 100644 --- a/daemon/stat.c +++ b/daemon/stat.c @@ -13,7 +13,7 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include @@ -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; }