diff options
author | delphij <delphij@FreeBSD.org> | 2010-01-18 19:39:55 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2010-01-18 19:39:55 +0000 |
commit | 98e7419fd19fac80d445280dfbd5ca5b8e75a3d1 (patch) | |
tree | 1d159f364dc05152ba466886115f4c0661e37ae5 /sbin/geom/core | |
parent | 5b6d6899b1f7bf4d8cdde37ec04ba76a0e4d1a83 (diff) | |
download | FreeBSD-src-98e7419fd19fac80d445280dfbd5ca5b8e75a3d1.zip FreeBSD-src-98e7419fd19fac80d445280dfbd5ca5b8e75a3d1.tar.gz |
Also output stripeoffset for consumer even if stripesize is zero, while
stripeoffset is non-zero.
Pointed out by: mav
Diffstat (limited to 'sbin/geom/core')
-rw-r--r-- | sbin/geom/core/geom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/geom/core/geom.c b/sbin/geom/core/geom.c index 7c7eb24..66f2a8f 100644 --- a/sbin/geom/core/geom.c +++ b/sbin/geom/core/geom.c @@ -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); } |