Also output stripeoffset for consumer even if stripesize is zero, while
stripeoffset is non-zero. Pointed out by: mav
This commit is contained in:
parent
9e515b1d82
commit
00b236aac2
@ -800,7 +800,7 @@ list_one_consumer(struct gconsumer *cp, const char *prefix)
|
||||
printf("%sMediasize: %jd (%s)\n", prefix,
|
||||
(intmax_t)pp->lg_mediasize, buf);
|
||||
printf("%sSectorsize: %u\n", prefix, pp->lg_sectorsize);
|
||||
if (pp->lg_stripesize > 0) {
|
||||
if (pp->lg_stripesize > 0 || pp->lg_stripeoffset > 0) {
|
||||
printf("%sStripesize: %ju\n", prefix, pp->lg_stripesize);
|
||||
printf("%sStripeoffset: %ju\n", prefix, pp->lg_stripeoffset);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user