summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2010-05-28 14:58:22 +0200
committerKarel Zak <kzak@redhat.com>2010-05-28 14:58:22 +0200
commit87c9548fe513db6d4da2d7f0197ef1b9bb009bad (patch)
tree929915df14692c56d8ae583a7bd8e82c517e0b87
parent81694f8c60dffb7851f941e69a1b79bc573ace53 (diff)
downloadutil-linux-old-87c9548fe513db6d4da2d7f0197ef1b9bb009bad.tar.gz
mount: fix coding style
Signed-off-by: Karel Zak <kzak@redhat.com>
-rw-r--r--mount/mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mount/mount.c b/mount/mount.c
index 4f2dcd24..865665bf 100644
--- a/mount/mount.c
+++ b/mount/mount.c
@@ -1440,7 +1440,7 @@ try_mount_one (const char *spec0, const char *node0, const char *types0,
* and 'rw' in mtab.
*/
if (!fake && mnt5_res == 0 &&
- !(flags & MS_RDONLY) && !(flags & MS_PROPAGATION) && !(flags & MS_MOVE) &&
+ !(flags & (MS_RDONLY | MS_PROPAGATION | MS_MOVE)) &&
is_readonly(node)) {
printf(_("mount: warning: %s seems to be mounted read-only.\n"), node);