It makes more sense for the fwheads and fwsectors properties to be in

the provider stanza rather than the geom stanza.
This commit is contained in:
Poul-Henning Kamp 2002-10-20 18:46:25 +00:00
parent 0a676b7eb6
commit 9e2ebaa081

View file

@ -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",