X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Fmdadm.git;a=blobdiff_plain;f=managemon.c;h=b6f99252716ac08120dd5d56050695844c9a413f;hp=bab0397921a7d30dc24e012cfa9decc8d5e877f5;hb=a5d85af748aafe3e3830b9d16faa5c92e783b171;hpb=f94c116f56cb821bfd619481d94fcd78ab8b53c0 diff --git a/managemon.c b/managemon.c index bab03979..b6f99252 100644 --- a/managemon.c +++ b/managemon.c @@ -276,7 +276,7 @@ static void add_disk_to_container(struct supertype *st, struct mdinfo *sd) */ st2 = dup_super(st); if (st2->ss->load_super(st2, dfd, NULL) == 0) { - st2->ss->getinfo_super(st, &info); + st2->ss->getinfo_super(st, &info, NULL); if (st->ss->compare_super(st, st2) == 0 && info.disk.raid_disk >= 0) { /* Looks like a good member of array.