forked from pool/mdadm
c401580f98
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=1f6000d46b0cb8516846595a0046a4f9
33 lines
960 B
Diff
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
|