summaryrefslogtreecommitdiffstats
path: root/sys/geom
diff options
context:
space:
mode:
authorattilio <attilio@FreeBSD.org>2011-06-02 14:09:30 +0000
committerattilio <attilio@FreeBSD.org>2011-06-02 14:09:30 +0000
commit3c36d056695bef4a3aa0002c977fc1999621600e (patch)
tree8354bc7b7c3a38952613050ee6c7b783b88c6998 /sys/geom
parent9f19c1c64d9f7305791ee510b9aa500748aa0fe8 (diff)
parent575b3fb0289ea04f267b20db4d8960b2888bc4ff (diff)
downloadFreeBSD-src-3c36d056695bef4a3aa0002c977fc1999621600e.zip
FreeBSD-src-3c36d056695bef4a3aa0002c977fc1999621600e.tar.gz
MFC
Diffstat (limited to 'sys/geom')
-rw-r--r--sys/geom/geom_dump.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/geom/geom_dump.c b/sys/geom/geom_dump.c
index d1e56d6..6f678cf 100644
--- a/sys/geom/geom_dump.c
+++ b/sys/geom/geom_dump.c
@@ -207,10 +207,8 @@ g_conf_provider(struct sbuf *sb, struct g_provider *pp)
sbuf_printf(sb, "\t <mediasize>%jd</mediasize>\n",
(intmax_t)pp->mediasize);
sbuf_printf(sb, "\t <sectorsize>%u</sectorsize>\n", pp->sectorsize);
- if (pp->stripesize > 0) {
- sbuf_printf(sb, "\t <stripesize>%u</stripesize>\n", pp->stripesize);
- sbuf_printf(sb, "\t <stripeoffset>%u</stripeoffset>\n", pp->stripeoffset);
- }
+ sbuf_printf(sb, "\t <stripesize>%u</stripesize>\n", pp->stripesize);
+ sbuf_printf(sb, "\t <stripeoffset>%u</stripeoffset>\n", pp->stripeoffset);
if (pp->geom->flags & G_GEOM_WITHER)
;
else if (pp->geom->dumpconf != NULL) {
OpenPOWER on IntegriCloud