Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Kraai <kraai@debian.org>2001-07-05 18:46:07 +0400
committerMatt Kraai <kraai@debian.org>2001-07-05 18:46:07 +0400
commit94f3a570e19554cddcda0e7dfa799fe8f03b4519 (patch)
tree89d9154fcdd30bba14d46f6a2a9b9f0f341e0f82 /mount.c
parent8df319b2139d292238c3b97f5551ccac6957d394 (diff)
Fix a thinko (the symptoms of which were reported by
David Douthitt in bug #1111).
Diffstat (limited to 'mount.c')
-rw-r--r--mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mount.c b/mount.c
index 17517fe21..9c438bf6c 100644
--- a/mount.c
+++ b/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