summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1997-08-20 21:50:09 +0000
committerMiles Bader <miles@gnu.org>1997-08-20 21:50:09 +0000
commitbc10154e4649a76dde073145f6b9b1c211651a6b (patch)
tree3d528a273702e782d446647b30b0ec7b80e52b20
parent9398deda5b7db4ae5f37466199deb477d3d5a958 (diff)
(_fs_check_mounted):
file_get_translator_cntl can also return ENXIO for an inactive translator.
-rw-r--r--sutils/fstab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sutils/fstab.c b/sutils/fstab.c
index e551fd42..6c756922 100644
--- a/sutils/fstab.c
+++ b/sutils/fstab.c
@@ -269,7 +269,7 @@ _fs_check_mounted (struct fs *fs)
the mntent, but oh well, nothing we can do about that.] */
{
err = file_get_translator_cntl (mount_point, &fs->fsys);
- if (err == EINVAL || err == EOPNOTSUPP)
+ if (err == EINVAL || err == EOPNOTSUPP || err == ENXIO)
/* Either the mount point doesn't exist, or wasn't mounted. */
{
fs->fsys = MACH_PORT_NULL;