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>
This commit is contained in:
NeilBrown 2011-03-09 18:22:27 +11:00
parent a821dc7fdf
commit d4f9ad2de8
1 changed files with 1 additions and 1 deletions

View File

@ -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;