]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - Query.c
Add 'supertype' arg to almost all metadata methods.
[thirdparty/mdadm.git] / Query.c
diff --git a/Query.c b/Query.c
index e1743ef3685e7d79233b71b4315dd2ccfdbf1fa2..19b2ce5e621c226445003cb5ec631b6b0371142b 100644 (file)
--- a/Query.c
+++ b/Query.c
@@ -96,7 +96,7 @@ int Query(char *dev)
        close(fd);
        if (superror == 0) {
                /* array might be active... */
-               st->ss->getinfo_super(&info, super);
+               st->ss->getinfo_super(st, &info, super);
                if (st->ss->major == 0) {
                        mddev = get_md_name(info.array.md_minor);
                        disc.number = info.disk.number;