- Don't check if 'gp' is non-NULL, it always is and GEOM wants to
dump geom configuration when 'pp' and 'cp' are NULL. - Use tabs instead of spaces.
This commit is contained in:
parent
9e96265f37
commit
39b39ae544
@ -755,7 +755,7 @@ g_concat_dumpconf(struct sbuf *sb, const char *indent, struct g_geom *gp,
|
||||
sc = gp->softc;
|
||||
if (sc == NULL)
|
||||
return;
|
||||
if (gp != NULL) {
|
||||
if (pp == NULL && cp == NULL) {
|
||||
sbuf_printf(sb, "%s<id>%zu</id>\n", indent, sc->sc_id);
|
||||
switch (sc->sc_type) {
|
||||
case G_CONCAT_TYPE_AUTOMATIC:
|
||||
|
Loading…
x
Reference in New Issue
Block a user