diff options
| author | Marcel Moolenaar <marcel@FreeBSD.org> | 2002-11-02 11:45:54 +0000 |
|---|---|---|
| committer | Marcel Moolenaar <marcel@FreeBSD.org> | 2002-11-02 11:45:54 +0000 |
| commit | 0df57878134a03124c08a7932bc3a9d685284259 (patch) | |
| tree | 64cf0a606e9ed2edf99754fd65cab24ee625873b | |
| parent | 0423916a71bbc818931ab87e42daec6557377ce2 (diff) | |
Notes
| -rw-r--r-- | sys/geom/geom_gpt.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/geom/geom_gpt.c b/sys/geom/geom_gpt.c index 6f90507461d9..5d88f5e9c756 100644 --- a/sys/geom/geom_gpt.c +++ b/sys/geom/geom_gpt.c @@ -124,9 +124,13 @@ g_gpt_dumpconf(struct sbuf *sb, char *indent, struct g_geom *gp, if (pp != NULL) { uuid = &gs->part[pp->index]->ent_type; - sbuf_printf(sb, "%s<type>", indent); + if (indent != NULL) + sbuf_printf(sb, "%s<type>", indent); + else + sbuf_printf(sb, " ty "); sbuf_printf_uuid(sb, uuid); - sbuf_printf(sb, "</type>\n"); + if (indent != NULL) + sbuf_printf(sb, "</type>\n"); } } |
