summaryrefslogtreecommitdiffstats
path: root/super0.c
diff options
context:
space:
mode:
authorArtur Paszkiewicz <artur.paszkiewicz@intel.com>2017-03-29 11:54:16 +0200
committerJes Sorensen <Jes.Sorensen@gmail.com>2017-03-29 17:32:27 +0200
commit65884368cd42d79b567f12d3e84adc7009e12d72 (patch)
treee3e2eb7a3024c6c85f2d7cde0fb8062583bc9305 /super0.c
parentGeneric support for --consistency-policy and PPL (diff)
downloadmdadm-65884368cd42d79b567f12d3e84adc7009e12d72.tar.xz
mdadm-65884368cd42d79b567f12d3e84adc7009e12d72.zip
Detail: show consistency policy
Show the currently enabled consistency policy in the output from --detail. Add 3 spaces to all existing items in Detail output to align with "Consistency Policy : ". Signed-off-by: Artur Paszkiewicz <artur.paszkiewicz@intel.com> Signed-off-by: Jes Sorensen <Jes.Sorensen@gmail.com>
Diffstat (limited to 'super0.c')
-rw-r--r--super0.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/super0.c b/super0.c
index 7a555e3b..10d9c40d 100644
--- a/super0.c
+++ b/super0.c
@@ -353,7 +353,7 @@ err:
static void detail_super0(struct supertype *st, char *homehost)
{
mdp_super_t *sb = st->sb;
- printf(" UUID : ");
+ printf(" UUID : ");
if (sb->minor_version >= 90)
printf("%08x:%08x:%08x:%08x", sb->set_uuid0, sb->set_uuid1,
sb->set_uuid2, sb->set_uuid3);
@@ -367,7 +367,7 @@ static void detail_super0(struct supertype *st, char *homehost)
if (memcmp(&sb->set_uuid2, hash, 8)==0)
printf(" (local to host %s)", homehost);
}
- printf("\n Events : %d.%d\n\n", sb->events_hi, sb->events_lo);
+ printf("\n Events : %d.%d\n\n", sb->events_hi, sb->events_lo);
}
static void brief_detail_super0(struct supertype *st)