summaryrefslogtreecommitdiffstats
path: root/Examine.c
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2005-11-22 03:38:44 +0000
committerNeil Brown <neilb@suse.de>2005-11-22 03:38:44 +0000
commitd9d4e4698f11b937c42f1c983aca57fd50038a73 (patch)
tree0a34237d75b0d4f696829c882ada2e04806af9d6 /Examine.c
parentf9c25f1d2af73f9494589afab42e07aa9ca2f740 (diff)
downloadmdadm-d9d4e4698f11b937c42f1c983aca57fd50038a73.tar.gz
mdadm-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 33fa1e5..fa120a5 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;