Signed-off-by: Doug Ledford <dledford@xxxxxxxxxx> --- Detail.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Detail.c b/Detail.c index 0e47a05..ba07c83 100644 --- a/Detail.c +++ b/Detail.c @@ -174,7 +174,7 @@ int Detail(char *dev, int brief, int export, int test, char *homehost) 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); } @@ -226,7 +226,7 @@ int Detail(char *dev, int brief, int export, int test, char *homehost) 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); } @@ -259,7 +259,7 @@ int Detail(char *dev, int brief, int export, int test, char *homehost) 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); } -- 1.6.5.2 -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html