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:
b3bf5d9
)
Fix #2
author
Richard Jones
<rjones@redhat.com>
Wed, 10 Jun 2009 12:27:13 +0000
(13:27 +0100)
committer
Richard Jones
<rjones@redhat.com>
Wed, 10 Jun 2009 12:27:13 +0000
(13:27 +0100)
daemon/guestfsd.c
patch
|
blob
|
history
diff --git
a/daemon/guestfsd.c
b/daemon/guestfsd.c
index
01a7e48
..
2e83b9f
100644
(file)
--- a/
daemon/guestfsd.c
+++ b/
daemon/guestfsd.c
@@
-693,7
+693,7
@@
shell_quote (char *out, int len, const char *in)
*
* See guestfs(3) for the algorithm.
*
- * We have to open the device and test for EN
ODEV
, because
+ * We have to open the device and test for EN
XIO
, because
* the device nodes themselves will exist in the appliance.
*/
int
@@
-707,7
+707,7
@@
device_name_translation (char *device, const char *func)
return 0;
}
- if (errno != EN
ODEV
) {
+ if (errno != EN
XIO
) {
error:
reply_with_perror ("%s: %s", func, device);
return -1;