diff options
author | Jes Sorensen <jsorensen@fb.com> | 2017-05-16 20:09:57 +0200 |
---|---|---|
committer | Jes Sorensen <jsorensen@fb.com> | 2017-05-16 20:09:57 +0200 |
commit | d16a749444251c12689fa93d398149025a9c2398 (patch) | |
tree | 8a818cc964b203fbd611891ad9f91d3ab50d5510 /policy.c | |
parent | mdadm: Fix '==' broken formatting (diff) | |
download | mdadm-d16a749444251c12689fa93d398149025a9c2398.tar.xz mdadm-d16a749444251c12689fa93d398149025a9c2398.zip |
mdadm: Fixup != broken formatting
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Diffstat (limited to 'policy.c')
-rw-r--r-- | policy.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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 */ |