From 52826846282e9e224e05dde6d2e4cb38d1fefec7 Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Thu, 23 Aug 2001 02:33:20 +0000 Subject: mdctl-0.5 --- Examine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Examine.c') diff --git a/Examine.c b/Examine.c index 4ed4f6b7..bb4290dc 100644 --- a/Examine.c +++ b/Examine.c @@ -147,7 +147,7 @@ int Examine(char *dev) } printf("\n"); printf(" Number Major Minor RaidDisk State\n"); - for (d= -1; d<(signed int)super.nr_disks; d++) { + for (d= -1; d<(signed int)(super.raid_disks+super.spare_disks); d++) { mdp_disk_t *dp; char *dv; char nb[5]; -- cgit v1.2.3