From: Karel Zak Date: Fri, 28 May 2010 12:58:22 +0000 (+0200) Subject: mount: fix coding style X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87c9548fe513db6d4da2d7f0197ef1b9bb009bad;p=util-linux mount: fix coding style Signed-off-by: Karel Zak --- 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);