SHA256
1
0
forked from pool/mdadm
mdadm/0001-Add-missing-space-in-detail-brief-output.patch

33 lines
960 B
Diff

From 0e90271e53c0f6efb33e904cf407498350e2a14d Mon Sep 17 00:00:00 2001
From: NeilBrown <neilb@suse.de>
Date: Thu, 1 Oct 2009 12:38:31 +1000
Subject: [PATCH 1/2] Add missing space in "--detail --brief" output.
We need a space between the device name and the word "level"..
Signed-off-by: NeilBrown <neilb@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) {
--
1.6.3.3