mirror of
https://github.com/opnsense/src.git
synced 2026-06-14 19:20:18 -04:00
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:
parent
0a676b7eb6
commit
9e2ebaa081
1 changed files with 1 additions and 1 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in a new issue