]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - mdassemble.c
Add device files created with --auto to list of known device files.
[thirdparty/mdadm.git] / mdassemble.c
index 43aed3c8377e1a2695d7be483f28157b93447601..597cdb8f1473458e835185ff6d22162ac8bd518e 100644 (file)
@@ -95,7 +95,7 @@ int main() {
                        if (ioctl(mdfd, GET_ARRAY_INFO, &array)>=0)
                                /* already assembled, skip */
                                continue;
-                       rv |= Assemble(array_list->devname, mdfd,
+                       rv |= Assemble(array_list->st, array_list->devname, mdfd,
                                           array_list, configfile,
                                           NULL,
                                           readonly, runstop, NULL, verbose, force);