]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - super1.c
Discard devnum in favour of devnm
[thirdparty/mdadm.git] / super1.c
index 4e380d98a4c3b6c918f515cd00247c6065a72e69..d0f1d5f089850751c4546d7278fe21a4499e7495 100644 (file)
--- a/super1.c
+++ b/super1.c
@@ -1716,7 +1716,7 @@ static struct supertype *match_metadata_desc1(char *arg)
 {
        struct supertype *st = xcalloc(1, sizeof(*st));
 
-       st->container_dev = NoMdDev;
+       st->container_devnm[0] = 0;
        st->ss = &super1;
        st->max_devs = MAX_DEVS;
        st->sb = NULL;