diff options
author | pjd <pjd@FreeBSD.org> | 2004-08-25 12:14:44 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2004-08-25 12:14:44 +0000 |
commit | a2512dc38ee5cc546ce25a504efafdf0ff801a08 (patch) | |
tree | ad9e73f433fc8e91e368d060f49d42c20e17735f /sys | |
parent | c9df8692f700f640a524559bc1a85f24ddf6ac54 (diff) | |
download | FreeBSD-src-a2512dc38ee5cc546ce25a504efafdf0ff801a08.zip FreeBSD-src-a2512dc38ee5cc546ce25a504efafdf0ff801a08.tar.gz |
Dump disk number.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/geom/stripe/g_stripe.c | 3 |
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, |