From d7be7d87366a7f9b190bc4e41ea06f7c9984028e Mon Sep 17 00:00:00 2001 From: Jes Sorensen Date: Tue, 16 May 2017 13:59:43 -0400 Subject: mdadm: Fixup more broken logical operator formatting Signed-off-by: Jes Sorensen --- Monitor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Monitor.c') diff --git a/Monitor.c b/Monitor.c index 0198a346..725f47db 100644 --- a/Monitor.c +++ b/Monitor.c @@ -530,7 +530,7 @@ static int check_array(struct state *st, struct mdstat_ent *mdstat, if (st->utime == array.utime && st->failed == sra->array.failed_disks && st->working == sra->array.working_disks && st->spare == sra->array.spare_disks && - (mse == NULL || (mse->percent == st->percent))) { + (mse == NULL || (mse->percent == st->percent))) { if ((st->active < st->raid) && st->spare == 0) retval = 1; goto out; @@ -672,7 +672,7 @@ static int add_new_arrays(struct mdstat_ent *mdstat, struct state **statelist, char *name; for (mse = mdstat; mse; mse = mse->next) - if (mse->devnm[0] && (!mse->level || /* retrieve containers */ + if (mse->devnm[0] && (!mse->level || /* retrieve containers */ (strcmp(mse->level, "raid0") != 0 && strcmp(mse->level, "linear") != 0))) { struct state *st = xcalloc(1, sizeof *st); -- cgit v1.2.3