]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - super1.c
mdadm: add map_num_s()
[thirdparty/mdadm.git] / super1.c
index a12a5bc847b904f581ffe1588022fb708c4927a7..e3e2f9548c4a4af3d22a17e6066a66790649cfd8 100644 (file)
--- a/super1.c
+++ b/super1.c
@@ -671,7 +671,7 @@ static void export_examine_super1(struct supertype *st)
        int len = 32;
        int layout;
 
-       printf("MD_LEVEL=%s\n", map_num(pers, __le32_to_cpu(sb->level)));
+       printf("MD_LEVEL=%s\n", map_num_s(pers, __le32_to_cpu(sb->level)));
        printf("MD_DEVICES=%d\n", __le32_to_cpu(sb->raid_disks));
        for (i = 0; i < 32; i++)
                if (sb->set_name[i] == '\n' || sb->set_name[i] == '\0') {