SHA256
1
0
forked from pool/mdadm
mdadm/0001-Add-missing-space-in-detail-brief-output.patch
OBS User autobuild 9dedcbd2c3 Accepting request 21463 from Base:System
Copy from Base:System/mdadm based on submit request 21463 from user michal-m

OBS-URL: https://build.opensuse.org/request/show/21463
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=32
2009-10-02 22:44:49 +00:00

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