]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - Examine.c
Change update to enum in update_super and update_subarray
[thirdparty/mdadm.git] / Examine.c
index 9574a3ccafecaaa648e0de25d70432f25deb0f10..c9605a60dfe476927d3a4dac1ca2912f04c3fa22 100644 (file)
--- a/Examine.c
+++ b/Examine.c
@@ -117,7 +117,7 @@ int Examine(struct mddev_dev *devlist,
                }
 
                if (c->SparcAdjust)
-                       st->ss->update_super(st, NULL, "sparc2.2",
+                       st->ss->update_super(st, NULL, UOPT_SPARC22,
                                             devlist->devname, 0, 0, NULL);
                /* Ok, its good enough to try, though the checksum could be wrong */