]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - super1.c
Use common code to report MD_UUID for --detail --export
[thirdparty/mdadm.git] / super1.c
index e71b96961d9a4c0b46a8820de48b0f1fe04a7f01..b7cd962a7e375de6c0c7667749ccf60acaffc88e 100644 (file)
--- a/super1.c
+++ b/super1.c
@@ -456,12 +456,6 @@ static void export_detail_super1(struct supertype *st)
                }
        if (len)
                printf("MD_NAME=%.*s\n", len, sb->set_name);
-       printf("MD_UUID=");
-       for (i=0; i<16; i++) {
-               if ((i&3)==0 && i != 0) printf(":");
-               printf("%02x", sb->set_uuid[i]);
-       }
-       printf("\n");
 }
 
 #endif