summaryrefslogtreecommitdiffstats
path: root/Examine.c
diff options
context:
space:
mode:
Diffstat (limited to 'Examine.c')
-rw-r--r--Examine.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/Examine.c b/Examine.c
index 8f15a75..a5151ec 100644
--- a/Examine.c
+++ b/Examine.c
@@ -62,6 +62,7 @@ int Examine(mddev_dev_t devlist, int brief, int scan, int SparcAdjust, struct su
void *super;
struct supertype *st;
struct mdinfo info;
+ struct mddev_ident_s ident;
void *devs;
struct array *next;
int spares;
@@ -108,9 +109,9 @@ int Examine(mddev_dev_t devlist, int brief, int scan, int SparcAdjust, struct su
ap->spares = 0;
ap->st = st;
arrays = ap;
- st->ss->getinfo_super(&ap->info, super);
+ st->ss->getinfo_super(&ap->info, &ap->ident, super);
} else {
- st->ss->getinfo_super(&ap->info, super);
+ st->ss->getinfo_super(&ap->info, &ap->ident, super);
free(super);
}
if (!(ap->info.disk.state & MD_DISK_SYNC))