diff options
author | Matt Kraai | 2001-07-05 14:46:07 +0000 |
---|---|---|
committer | Matt Kraai | 2001-07-05 14:46:07 +0000 |
commit | 94f3a570e19554cddcda0e7dfa799fe8f03b4519 (patch) | |
tree | 89d9154fcdd30bba14d46f6a2a9b9f0f341e0f82 /util-linux/mount.c | |
parent | 8df319b2139d292238c3b97f5551ccac6957d394 (diff) | |
download | busybox-94f3a570e19554cddcda0e7dfa799fe8f03b4519.zip busybox-94f3a570e19554cddcda0e7dfa799fe8f03b4519.tar.gz |
Fix a thinko (the symptoms of which were reported by
David Douthitt in bug #1111).
Diffstat (limited to 'util-linux/mount.c')
-rw-r--r-- | util-linux/mount.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c index 17517fe..9c438bf 100644 --- a/util-linux/mount.c +++ b/util-linux/mount.c @@ -144,7 +144,7 @@ do_mount(char *specialfile, char *dir, char *filesystemtype, } if (!(flags & MS_RDONLY) && loro) { /* loop is ro, but wanted rw */ error_msg("WARNING: loop device is read-only"); - flags &= ~MS_RDONLY; + flags |= MS_RDONLY; } } #endif |