X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=daemon%2Fstat.c;h=0b3be4d9d49ea846309d2c9ed1ca6c9803d759bf;hp=20f4b70ab50b018b4cd1b03c06252120fba4ec08;hb=d600342b7d29c0176ff96a7807ebb38303ecb3a6;hpb=63516f39a0b1381ef3d06d9eb55141bf6c4466b0 diff --git a/daemon/stat.c b/daemon/stat.c index 20f4b70..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; } @@ -151,7 +151,7 @@ do_lstatlist (const char *path, char *const *names) CHROOT_OUT; if (path_fd == -1) { - reply_with_perror ("lstatlist: %s", path); + reply_with_perror ("%s", path); free (ret->guestfs_int_stat_list_val); free (ret); return NULL;