From 66ccd96ebc5dd5801c8bd0ba9fc69b2fcdd1aa22 Mon Sep 17 00:00:00 2001 From: NeilBrown Date: Wed, 9 Mar 2011 18:22:27 +1100 Subject: [PATCH] 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 --- Detail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Detail.c b/Detail.c index e68a88ac..375189d0 100644 --- a/Detail.c +++ b/Detail.c @@ -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; -- 2.47.2