summaryrefslogtreecommitdiffstats
path: root/mapfile.c
diff options
context:
space:
mode:
authorJes Sorensen <jsorensen@fb.com>2017-05-16 19:59:43 +0200
committerJes Sorensen <jsorensen@fb.com>2017-05-16 19:59:43 +0200
commitd7be7d87366a7f9b190bc4e41ea06f7c9984028e (patch)
tree48d43094e34376fa3dc7eab21546a10bc1119722 /mapfile.c
parentmdadm: Fixup a large number of bad formatting of logical operators (diff)
downloadmdadm-d7be7d87366a7f9b190bc4e41ea06f7c9984028e.tar.xz
mdadm-d7be7d87366a7f9b190bc4e41ea06f7c9984028e.zip
mdadm: Fixup more broken logical operator formatting
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Diffstat (limited to 'mapfile.c')
-rw-r--r--mapfile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mapfile.c b/mapfile.c
index c89d403f..f3c8191e 100644
--- a/mapfile.c
+++ b/mapfile.c
@@ -439,8 +439,8 @@ void RebuildMap(void)
if ((homehost == NULL ||
st->ss->match_home(st, homehost) != 1) &&
st->ss->match_home(st, "any") != 1 &&
- (require_homehost
- || ! conf_name_is_free(info->name)))
+ (require_homehost ||
+ !conf_name_is_free(info->name)))
/* require a numeric suffix */
unum = 0;
else