summaryrefslogtreecommitdiffstats
path: root/sys/geom/stripe
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2004-08-25 12:14:44 +0000
committerpjd <pjd@FreeBSD.org>2004-08-25 12:14:44 +0000
commita2512dc38ee5cc546ce25a504efafdf0ff801a08 (patch)
treead9e73f433fc8e91e368d060f49d42c20e17735f /sys/geom/stripe
parentc9df8692f700f640a524559bc1a85f24ddf6ac54 (diff)
downloadFreeBSD-src-a2512dc38ee5cc546ce25a504efafdf0ff801a08.zip
FreeBSD-src-a2512dc38ee5cc546ce25a504efafdf0ff801a08.tar.gz
Dump disk number.
Diffstat (limited to 'sys/geom/stripe')
-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