diff options
author | Neil Brown <neilb@suse.de> | 2001-08-23 04:33:20 +0200 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2001-08-23 04:33:20 +0200 |
commit | 52826846282e9e224e05dde6d2e4cb38d1fefec7 (patch) | |
tree | e776bd76e2d152c28854b83d9776ab8f7ec41317 /Examine.c | |
parent | mdctl-v0.4.2 (diff) | |
download | mdadm-52826846282e9e224e05dde6d2e4cb38d1fefec7.tar.xz mdadm-52826846282e9e224e05dde6d2e4cb38d1fefec7.zip |
mdctl-0.5mdctl-0.5
Diffstat (limited to 'Examine.c')
-rw-r--r-- | Examine.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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]; |