summaryrefslogtreecommitdiffstats
path: root/managemon.c
diff options
context:
space:
mode:
authorJes Sorensen <jsorensen@fb.com>2017-05-16 20:04:22 +0200
committerJes Sorensen <jsorensen@fb.com>2017-05-16 20:04:22 +0200
commitb831b299e864224b389743d8a435d6629ee674e3 (patch)
treede55a908beaaf9dc57ec7a2999b1bbbb030f8b03 /managemon.c
parentmdadm: Fixup more broken logical operator formatting (diff)
downloadmdadm-b831b299e864224b389743d8a435d6629ee674e3.tar.xz
mdadm-b831b299e864224b389743d8a435d6629ee674e3.zip
mdadm: Fix '==' broken formatting
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Diffstat (limited to 'managemon.c')
-rw-r--r--managemon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/managemon.c b/managemon.c
index 0a33fc9b..a8df6664 100644
--- a/managemon.c
+++ b/managemon.c
@@ -580,8 +580,8 @@ static void manage_member(struct mdstat_ent *mdstat,
usleep(15*1000);
}
replace_array(container, a, newa);
- if (sysfs_set_str(&a->info, NULL, "sync_action", "recover")
- == 0)
+ if (sysfs_set_str(&a->info, NULL,
+ "sync_action", "recover") == 0)
newa->prev_action = recover;
dprintf("recovery started on %s\n", a->info.sys_name);
out: