diff options
author | attilio <attilio@FreeBSD.org> | 2011-06-02 14:09:30 +0000 |
---|---|---|
committer | attilio <attilio@FreeBSD.org> | 2011-06-02 14:09:30 +0000 |
commit | 3c36d056695bef4a3aa0002c977fc1999621600e (patch) | |
tree | 8354bc7b7c3a38952613050ee6c7b783b88c6998 /sys/geom | |
parent | 9f19c1c64d9f7305791ee510b9aa500748aa0fe8 (diff) | |
parent | 575b3fb0289ea04f267b20db4d8960b2888bc4ff (diff) | |
download | FreeBSD-src-3c36d056695bef4a3aa0002c977fc1999621600e.zip FreeBSD-src-3c36d056695bef4a3aa0002c977fc1999621600e.tar.gz |
MFC
Diffstat (limited to 'sys/geom')
-rw-r--r-- | sys/geom/geom_dump.c | 6 |
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) { |