git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d5ec10
)
daemon: Print failed path in stat command errors.
author
Richard W.M. Jones
<rjones@redhat.com>
Mon, 25 Oct 2010 11:54:59 +0000
(12:54 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Mon, 25 Oct 2010 12:01:28 +0000
(13:01 +0100)
daemon/stat.c
patch
|
blob
|
history
diff --git
a/daemon/stat.c
b/daemon/stat.c
index
c939e8e
..
0b3be4d
100644
(file)
--- 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;
}