diff options
author | NeilBrown <neilb@suse.de> | 2015-04-08 01:18:55 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2015-04-08 01:18:55 +0200 |
commit | 04e27c2084cb7a160b6ed569486e0621bbc7ed36 (patch) | |
tree | ec51c2032ca62b4952e8a1ab9ef3cc6ae1161b1c /Monitor.c | |
parent | Monitor: Obey "space protocol" when writing to syslog. (diff) | |
download | mdadm-04e27c2084cb7a160b6ed569486e0621bbc7ed36.tar.xz mdadm-04e27c2084cb7a160b6ed569486e0621bbc7ed36.zip |
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>
Diffstat (limited to 'Monitor.c')
-rw-r--r-- | Monitor.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |