git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
todo: live CD inspection
[libguestfs.git]
/
daemon
/
stat.c
diff --git
a/daemon/stat.c
b/daemon/stat.c
index
c939e8e
..
e245323
100644
(file)
--- a/
daemon/stat.c
+++ b/
daemon/stat.c
@@
-26,7
+26,7
@@
#include <fcntl.h>
#include <unistd.h>
#include <fcntl.h>
#include <unistd.h>
-#include "
../src/
guestfs_protocol.h"
+#include "guestfs_protocol.h"
#include "daemon.h"
#include "actions.h"
#include "daemon.h"
#include "actions.h"
@@
-42,7
+42,7
@@
do_stat (const char *path)
CHROOT_OUT;
if (r == -1) {
CHROOT_OUT;
if (r == -1) {
- reply_with_perror ("
stat"
);
+ reply_with_perror ("
%s", path
);
return NULL;
}
return NULL;
}
@@
-89,7
+89,7
@@
do_lstat (const char *path)
CHROOT_OUT;
if (r == -1) {
CHROOT_OUT;
if (r == -1) {
- reply_with_perror ("
stat"
);
+ reply_with_perror ("
%s", path
);
return NULL;
}
return NULL;
}