NeilBrown: Add missing space in "--detail --brief" output.

Martin F. Krafft madduck at alioth.debian.org
Tue Oct 27 19:21:31 UTC 2009


Module: mdadm
Branch: master
Commit: 0e90271e53c0f6efb33e904cf407498350e2a14d
URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git;a=commit;h=0e90271e53c0f6efb33e904cf407498350e2a14d

Author: NeilBrown <neilb at suse.de>
Date:   Thu Oct  1 12:38:31 2009 +1000

Add missing space in "--detail --brief" output.

We need a space between the device name and the word "level"..

Signed-off-by: NeilBrown <neilb at suse.de>

---

 Detail.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Detail.c b/Detail.c
index 001012a..a70db34 100644
--- a/Detail.c
+++ b/Detail.c
@@ -207,11 +207,11 @@ int Detail(char *dev, int brief, int export, int test, char *homehost)
 		printf("ARRAY %s", dev);
 		if (brief > 1) {
 			if (array.raid_disks)
-				printf("level=%s num-devices=%d",
+				printf(" level=%s num-devices=%d",
 				       c?c:"-unknown-",
 				       array.raid_disks );
 			else
-				printf("level=container num-devices=%d",
+				printf(" level=container num-devices=%d",
 				       array.nr_disks);
 		}
 		if (container) {




More information about the pkg-mdadm-commits mailing list