summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-10-20 18:46:25 +0000
committerphk <phk@FreeBSD.org>2002-10-20 18:46:25 +0000
commit6128ce4ca2087bba0e1d6da690b5e0b3b15b459e (patch)
treecb34266260e60b81a9fcf8ced3ccc0594a5e4e71
parent8516a6e929bc4bf91699d6c494f1e117c7a6ca00 (diff)
downloadFreeBSD-src-6128ce4ca2087bba0e1d6da690b5e0b3b15b459e.zip
FreeBSD-src-6128ce4ca2087bba0e1d6da690b5e0b3b15b459e.tar.gz
It makes more sense for the fwheads and fwsectors properties to be in
the provider stanza rather than the geom stanza.
-rw-r--r--sys/geom/geom_disk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/geom/geom_disk.c b/sys/geom/geom_disk.c
index bee654c..37cf533 100644
--- a/sys/geom/geom_disk.c
+++ b/sys/geom/geom_disk.c
@@ -211,7 +211,7 @@ g_disk_dumpconf(struct sbuf *sb, char *indent, struct g_geom *gp, struct g_consu
struct disk *dp;
dp = gp->softc;
- if (gp != NULL && (pp == NULL && cp == NULL)) {
+ if (pp != NULL) {
sbuf_printf(sb, "%s<fwheads>%u</fwheads>\n",
indent, dp->d_fwheads);
sbuf_printf(sb, "%s<fwsectors>%u</fwsectors>\n",
OpenPOWER on IntegriCloud