Fixed UUID printing in "--detail --brief" for version1 metadata.

This commit is contained in:
Neil Brown 2006-11-09 16:28:27 +11:00
parent 9255bbc84f
commit b7a708af6f
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,6 @@
Changes Prior to this release
- Fixed UUID printing in "--detail --brief" for version1 metadata.
Changes Prior to 2.5.6 release
- Fix bug which meant "bitmap=xxx" in mdadm.conf was not handled
properly.

View File

@ -345,8 +345,8 @@ static void brief_examine_super1(void *sbv)
nm,
c?c:"-unknown-", __le32_to_cpu(sb->raid_disks));
for (i=0; i<16; i++) {
printf("%02x", sb->set_uuid[i]);
if ((i&3)==0 && i != 0) printf(":");
printf("%02x", sb->set_uuid[i]);
}
if (sb->set_name[0])
printf(" name=%.32s", sb->set_name);