From: NeilBrown Date: Tue, 7 Apr 2015 23:18:55 +0000 (+1000) Subject: Monitor: use the "space protocol" for "Wrong-Level". X-Git-Tag: mdadm-3.3.3~71 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04e27c2084cb7a160b6ed569486e0621bbc7ed36;p=thirdparty%2Fmdadm.git 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 --- diff --git a/Monitor.c b/Monitor.c index 3647768a..1cd378b7 100644 --- a/Monitor.c +++ b/Monitor.c @@ -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;