From 22a88995861f93110802ee49c5d7bc28250b46ce Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Tue, 31 Jan 2006 00:39:50 +0000 Subject: Sort mdstat entries so that composites are well-ordered. This means that "-Ds" lists arrays in an approprate order for assembly. Signed-off-by: Neil Brown --- Detail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Detail.c') diff --git a/Detail.c b/Detail.c index 2986a6e..774a750 100644 --- a/Detail.c +++ b/Detail.c @@ -135,7 +135,7 @@ int Detail(char *dev, int brief, int test) mdu_bitmap_file_t bmf; unsigned long array_size; unsigned long long larray_size; - struct mdstat_ent *ms = mdstat_read(0); + struct mdstat_ent *ms = mdstat_read(0, 0); struct mdstat_ent *e; int devnum = array.md_minor; if (major(stb.st_rdev) != MD_MAJOR) -- cgit