diff options
author | Richard Jones <rjones@redhat.com> | 2009-06-10 13:27:13 +0100 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2009-06-10 13:27:13 +0100 |
commit | edbb821cb7daefacb7b78821926d751ba40cc232 (patch) | |
tree | 92fc6dbdfd1a7ecdb3defd855129254d25bdbdfa /daemon/guestfsd.c | |
parent | b3bf5d9634880d8c9d8a247504a6a89436a0afe5 (diff) | |
download | libguestfs-edbb821cb7daefacb7b78821926d751ba40cc232.tar.gz libguestfs-edbb821cb7daefacb7b78821926d751ba40cc232.tar.xz libguestfs-edbb821cb7daefacb7b78821926d751ba40cc232.zip |
Fix #2
Diffstat (limited to 'daemon/guestfsd.c')
-rw-r--r-- | daemon/guestfsd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/daemon/guestfsd.c b/daemon/guestfsd.c index 01a7e485..2e83b9fa 100644 --- 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 ENODEV, because + * We have to open the device and test for ENXIO, 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 != ENODEV) { + if (errno != ENXIO) { error: reply_with_perror ("%s: %s", func, device); return -1; |