From 5787fa490612387a43c1897eb807b0c5612b5cd2 Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Wed, 12 Feb 2003 00:17:26 +0000 Subject: mdadm-1.0.9 --- Examine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Examine.c') diff --git a/Examine.c b/Examine.c index b886afc2..02701089 100644 --- a/Examine.c +++ b/Examine.c @@ -170,7 +170,7 @@ int Examine(mddev_dev_t devlist, int brief, int scan, int SparcAdjust) __u32 *sb32 = (__u32*)&super; memcpy(sb32+MD_SB_GENERIC_CONSTANT_WORDS+7, sb32+MD_SB_GENERIC_CONSTANT_WORDS+7+1, - MD_SB_WORDS - (MD_SB_GENERIC_CONSTANT_WORDS+7+1)); + (MD_SB_WORDS - (MD_SB_GENERIC_CONSTANT_WORDS+7+1))*4); printf (" --- adjusting superblock for 2.2/sparc compatability ---\n"); } printf(" Events : %d.%d\n", super.events_hi, super.events_lo); -- cgit v1.2.3