mirror of
https://github.com/topjohnwu/ndk-busybox.git
synced 2024-11-25 04:39:48 +00:00
Fix a thinko (the symptoms of which were reported by
David Douthitt in bug #1111).
This commit is contained in:
parent
8df319b213
commit
94f3a570e1
2
mount.c
2
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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user