e83588671c
fixes (fixes bz523262) - Fix display of metadata version in output of Detail mode - Add UUID output to --detail --export (bz523314)
30 lines
909 B
Diff
30 lines
909 B
Diff
--- mdadm-3.0/Detail.c.metadata 2009-09-11 02:10:24.000000000 -0400
|
|
+++ mdadm-3.0/Detail.c 2009-09-15 14:54:56.849391192 -0400
|
|
@@ -161,7 +161,7 @@
|
|
if (sra && sra->array.major_version < 0)
|
|
printf("MD_METADATA=%s\n", sra->text_version);
|
|
else
|
|
- printf("MD_METADATA=%d.%02d\n",
|
|
+ printf("MD_METADATA=%d.%d\n",
|
|
array.major_version, array.minor_version);
|
|
}
|
|
|
|
@@ -208,7 +208,7 @@
|
|
if (sra && sra->array.major_version < 0)
|
|
printf(" metadata=%s", sra->text_version);
|
|
else
|
|
- printf(" metadata=%d.%02d",
|
|
+ printf(" metadata=%d.%d",
|
|
array.major_version, array.minor_version);
|
|
}
|
|
|
|
@@ -241,7 +241,7 @@
|
|
if (sra && sra->array.major_version < 0)
|
|
printf(" Version : %s\n", sra->text_version);
|
|
else
|
|
- printf(" Version : %d.%02d\n",
|
|
+ printf(" Version : %d.%d\n",
|
|
array.major_version, array.minor_version);
|
|
}
|
|
|