summaryrefslogtreecommitdiffstats
path: root/super0.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2008-10-17 03:46:23 +0200
committerNeilBrown <neilb@suse.de>2008-10-17 03:46:23 +0200
commit492350045c7e40741069caa7d017209439db665b (patch)
tree48ddb56482580bb809830ddc6971a79459d0ca72 /super0.c
parentmdmon: suicide prevention (diff)
parentRemove .UR .UE macros from man page because the don't do what we want. (diff)
downloadmdadm-492350045c7e40741069caa7d017209439db665b.tar.xz
mdadm-492350045c7e40741069caa7d017209439db665b.zip
Merge branch 'master' into devel-3.0
Conflicts: Manage.c
Diffstat (limited to 'super0.c')
-rw-r--r--super0.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/super0.c b/super0.c
index 291ccdde..924d75d3 100644
--- a/super0.c
+++ b/super0.c
@@ -188,10 +188,9 @@ static void examine_super0(struct supertype *st, char *homehost)
printf(" Layout : %s\n", c?c:"-unknown-");
}
if (sb->level == 10) {
- printf(" Layout : near=%d, %s=%d\n",
- sb->layout&255,
- (sb->layout&0x10000)?"offset":"far",
- (sb->layout>>8)&255);
+ printf(" Layout :");
+ print_r10_layout(sb->layout);
+ printf("\n");
}
switch(sb->level) {
case 0: