From e5329c3747a4e9eb7addbfaa59b8d5e8688ce2a1 Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Wed, 11 Aug 2004 02:16:01 +0000 Subject: mdadm-1.7.0 --- Examine.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Examine.c') diff --git a/Examine.c b/Examine.c index 1f23745..7dec8d8 100644 --- a/Examine.c +++ b/Examine.c @@ -174,11 +174,20 @@ int Examine(mddev_dev_t devlist, int brief, int scan, int SparcAdjust) printf (" --- adjusting superblock for 2.2/sparc compatability ---\n"); } printf(" Events : %d.%d\n", super.events_hi, super.events_lo); + if (super.events_hi == super.cp_events_hi && + super.events_lo == super.cp_events_lo && + super.recovery_cp > 0 && + (super.state & (1<>8) & 255); + switch(super.level) { case 0: case 4: @@ -209,6 +218,7 @@ int Examine(mddev_dev_t devlist, int brief, int scan, int SparcAdjust) if ((dv=map_dev(dp->major, dp->minor))) printf(" %s", dv); printf("\n"); + if (d == -1) printf("\n"); } } if (SparcAdjust == 2) { -- cgit