]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - Examine.c
get_info_super: report which other devices are thought to be working/failed.
[thirdparty/mdadm.git] / Examine.c
index 01838c8b48d3307c3350cbd6efe2a1fe73519f67..f646805b911dfd66e087a768c81d934959206a8d 100644 (file)
--- a/Examine.c
+++ b/Examine.c
@@ -119,9 +119,9 @@ int Examine(mddev_dev_t devlist, int brief, int export, int scan,
                                ap->spares = 0;
                                ap->st = st;
                                arrays = ap;
-                               st->ss->getinfo_super(st, &ap->info);
+                               st->ss->getinfo_super(st, &ap->info, NULL);
                        } else
-                               st->ss->getinfo_super(st, &ap->info);
+                               st->ss->getinfo_super(st, &ap->info, NULL);
                        if (!st->loaded_container &&
                            !(ap->info.disk.state & (1<<MD_DISK_SYNC)))
                                ap->spares++;