summaryrefslogtreecommitdiffstats
path: root/policy.c
diff options
context:
space:
mode:
authorJes Sorensen <jsorensen@fb.com>2017-05-16 14:09:57 -0400
committerJes Sorensen <jsorensen@fb.com>2017-05-16 14:09:57 -0400
commitd16a749444251c12689fa93d398149025a9c2398 (patch)
tree8a818cc964b203fbd611891ad9f91d3ab50d5510 /policy.c
parentb831b299e864224b389743d8a435d6629ee674e3 (diff)
downloadmdadm-d16a749444251c12689fa93d398149025a9c2398.tar.gz
mdadm: Fixup != broken formatting
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Diffstat (limited to 'policy.c')
-rw-r--r--policy.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/policy.c b/policy.c
index 064d3491..b17585a9 100644
--- a/policy.c
+++ b/policy.c
@@ -887,9 +887,8 @@ int Write_rules(char *rule_name)
fd = 1;
/* write static invocation */
- if (write(fd, udev_template_start,
- sizeof(udev_template_start) - 1)
- != (int)sizeof(udev_template_start)-1)
+ if (write(fd, udev_template_start, sizeof(udev_template_start) - 1) !=
+ (int)sizeof(udev_template_start) - 1)
goto abort;
/* iterate, if none created or error occurred, remove file */