X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=daemon%2Fstat.c;h=22592bb2dd2269a93ec9ba0a7e022ca88ac6f255;hb=8bc6e9d6a89672bbe1e7469774abe889354deb67;hp=20f4b70ab50b018b4cd1b03c06252120fba4ec08;hpb=63516f39a0b1381ef3d06d9eb55141bf6c4466b0;p=libguestfs.git diff --git a/daemon/stat.c b/daemon/stat.c index 20f4b70..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; } @@ -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;