summaryrefslogtreecommitdiffstats
path: root/Examine.c
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2005-11-22 04:38:44 +0100
committerNeil Brown <neilb@suse.de>2005-11-22 04:38:44 +0100
commitd9d4e4698f11b937c42f1c983aca57fd50038a73 (patch)
tree0a34237d75b0d4f696829c882ada2e04806af9d6 /Examine.c
parentSupport bitmaps with raid10 (diff)
downloadmdadm-d9d4e4698f11b937c42f1c983aca57fd50038a73.tar.xz
mdadm-d9d4e4698f11b937c42f1c983aca57fd50038a73.zip
Remvoe blank line from '--examine --brief' output.
Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'Examine.c')
-rw-r--r--Examine.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Examine.c b/Examine.c
index 33fa1e5f..fa120a53 100644
--- a/Examine.c
+++ b/Examine.c
@@ -140,7 +140,8 @@ int Examine(mddev_dev_t devlist, int brief, int scan, int SparcAdjust, struct su
}
free(ap->super);
/* FIXME free ap */
- printf("\n");
+ if (ap->spares || brief > 1)
+ printf("\n");
}
}
return rv;