diff options
author | NeilBrown <neilb@suse.de> | 2011-03-09 18:22:27 +1100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2011-03-09 18:22:27 +1100 |
commit | 66ccd96ebc5dd5801c8bd0ba9fc69b2fcdd1aa22 (patch) | |
tree | 6021bac3b236af4346c4598a38e915ec8703e637 | |
parent | 633b5610736533f6ba49206803ad00705e6cd9bd (diff) | |
download | mdadm-66ccd96ebc5dd5801c8bd0ba9fc69b2fcdd1aa22.tar.gz |
Detail: report subarrays of a container properly.
Due to the wrong variable being used, this part of --detail
wasn't working at all.
Signed-off-by: NeilBrown <neilb@suse.de>
-rw-r--r-- | Detail.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -489,7 +489,7 @@ This is pretty boring if (load_sys(path, vbuf) < 0) continue; if (strncmp(vbuf, "external:", 9) != 0 || - !is_subarray(sra->sys_name+9) || + !is_subarray(vbuf+9) || strncmp(vbuf+10, sra->sys_name, nlen) != 0 || vbuf[10+nlen] != '/') continue; |