summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/geom/stripe/g_stripe.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/geom/stripe/g_stripe.c b/sys/geom/stripe/g_stripe.c
index 80d4f47..91c6710 100644
--- a/sys/geom/stripe/g_stripe.c
+++ b/sys/geom/stripe/g_stripe.c
@@ -1153,7 +1153,8 @@ g_stripe_dumpconf(struct sbuf *sb, const char *indent, struct g_geom *gp,
if (pp != NULL) {
/* Nothing here. */
} else if (cp != NULL) {
- /* Nothing here. */
+ sbuf_printf(sb, "%s<Number>%u</Number>\n", indent,
+ (u_int)cp->index);
} else {
sbuf_printf(sb, "%s<ID>%u</ID>\n", indent, (u_int)sc->sc_id);
sbuf_printf(sb, "%s<Stripesize>%u</Stripesize>\n", indent,
OpenPOWER on IntegriCloud