diff options
author | NeilBrown <neilb@suse.de> | 2011-03-09 08:22:27 +0100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2011-03-10 06:55:26 +0100 |
commit | d4f9ad2de82c918bae7b7f8408bde9739a40e9b9 (patch) | |
tree | 7531752f02cbb58dd4186ac7511121d5c4bc6721 /Detail.c | |
parent | dev_open should always open read-only. (diff) | |
download | mdadm-d4f9ad2de82c918bae7b7f8408bde9739a40e9b9.tar.xz mdadm-d4f9ad2de82c918bae7b7f8408bde9739a40e9b9.zip |
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>
Diffstat (limited to '')
-rw-r--r-- | Detail.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -482,7 +482,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; |