df: Add --uuid option to print guest UUIDs instead of names (RHBZ#646821).
[libguestfs.git] / daemon / stat.c
index c939e8e..0b3be4d 100644 (file)
@@ -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;
   }