summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Detail.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Detail.c b/Detail.c
index 15c751f..a113933 100644
--- a/Detail.c
+++ b/Detail.c
@@ -235,6 +235,7 @@ int Detail(char *dev, int brief, int test)
for (d=0; d<max_disks; d++) {
disks[d].state = (1<<MD_DISK_REMOVED);
disks[d].major = disks[d].minor = 0;
+ disks[d].number = disks[d].raid_disk = d;
}
next = array.raid_disks;