summaryrefslogtreecommitdiff
path: root/mount.c
diff options
context:
space:
mode:
authorErik Andersen2000-03-13 04:07:02 +0000
committerErik Andersen2000-03-13 04:07:02 +0000
commitce91732416d3fb68ebf527ec839e8f810ea65ebd (patch)
tree23f70e6e90faa8e7f8aac7d336fe88bbf646efeb /mount.c
parent3522eb1ab3a4f1bcbf2c0f0eed387733b29c9e95 (diff)
downloadbusybox-ce91732416d3fb68ebf527ec839e8f810ea65ebd.zip
busybox-ce91732416d3fb68ebf527ec839e8f810ea65ebd.tar.gz
Some bug fixes I forgot to check-in the other day.
Mounting loop devices w/o specifying the filesystem type choked if it didn't guess right the first time. -Erik
Diffstat (limited to 'mount.c')
-rw-r--r--mount.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mount.c b/mount.c
index c29be51..336cff7 100644
--- a/mount.c
+++ b/mount.c
@@ -142,7 +142,6 @@ do_mount(char *specialfile, char *dir, char *filesystemtype,
fprintf(stderr, "WARNING: loop device is read-only\n");
flags &= ~MS_RDONLY;
}
- use_loop = FALSE;
}
#endif
status =
@@ -415,10 +414,10 @@ extern int mount_main(int argc, char **argv)
case 'a':
all = TRUE;
break;
-#ifdef BB_MTAB
case 'f':
fakeIt = TRUE;
break;
+#ifdef BB_MTAB
case 'n':
useMtab = FALSE;
break;