The size of array shows wrongly. It shifs wrong number. Signed-off-by: Xiao Ni <xni@xxxxxxxxxx> --- super1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/super1.c b/super1.c index 86ec850..f3b864d 100644 --- a/super1.c +++ b/super1.c @@ -366,7 +366,7 @@ static void examine_super1(struct supertype *st, char *homehost) } if (ddsks) { long long asize = __le64_to_cpu(sb->size); - asize = (asize << 9) * ddsks / ddsks_denom; + asize = (asize << 10) * ddsks / ddsks_denom; printf(" Array Size : %llu%s\n", asize >> 10, human_size(asize)); } -- 2.7.4 -- 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