Monitor: use the "space protocol" for "Wrong-Level".
"Wrong-Level" is a reason, not a component device, so it should start with a space to indiciate this to alert(). Signed-off-by: NeilBrown <neilb@suse.de>
This commit is contained in:
parent
b033913a3c
commit
04e27c2084
|
@ -507,7 +507,7 @@ static int check_array(struct state *st, struct mdstat_ent *mdstat,
|
|||
*/
|
||||
if (array.level == 0 || array.level == -1) {
|
||||
if (!st->err && !st->from_config)
|
||||
alert("DeviceDisappeared", dev, "Wrong-Level", ainfo);
|
||||
alert("DeviceDisappeared", dev, " Wrong-Level", ainfo);
|
||||
st->err++;
|
||||
close(fd);
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue