projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8df319b
)
Fix a thinko (the symptoms of which were reported by
author
Matt Kraai
<kraai@debian.org>
Thu, 5 Jul 2001 14:46:07 +0000
(14:46 -0000)
committer
Matt Kraai
<kraai@debian.org>
Thu, 5 Jul 2001 14:46:07 +0000
(14:46 -0000)
David Douthitt in bug #1111).
mount.c
patch
|
blob
|
history
util-linux/mount.c
patch
|
blob
|
history
diff --git
a/mount.c
b/mount.c
index 17517fe21f86efd580121aac8f88ab841e91e5ae..9c438bf6c9a9e41477b4aa2452f5c251297fc6b1 100644
(file)
--- 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
diff --git
a/util-linux/mount.c
b/util-linux/mount.c
index 17517fe21f86efd580121aac8f88ab841e91e5ae..9c438bf6c9a9e41477b4aa2452f5c251297fc6b1 100644
(file)
--- 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