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:
parent
633b561073
commit
66ccd96ebc
2
Detail.c
2
Detail.c
|
@ -489,7 +489,7 @@ This is pretty boring
|
||||||
if (load_sys(path, vbuf) < 0)
|
if (load_sys(path, vbuf) < 0)
|
||||||
continue;
|
continue;
|
||||||
if (strncmp(vbuf, "external:", 9) != 0 ||
|
if (strncmp(vbuf, "external:", 9) != 0 ||
|
||||||
!is_subarray(sra->sys_name+9) ||
|
!is_subarray(vbuf+9) ||
|
||||||
strncmp(vbuf+10, sra->sys_name, nlen) != 0 ||
|
strncmp(vbuf+10, sra->sys_name, nlen) != 0 ||
|
||||||
vbuf[10+nlen] != '/')
|
vbuf[10+nlen] != '/')
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in New Issue