Add missing newlines to flags tags of CPU topology, for prettier

output.

Reviewed by:	jeff (original version)
Approved by:	gnn (mentor) (original version)
This commit is contained in:
Ivan Voras 2008-12-23 16:19:59 +00:00
parent fc25498ad9
commit 59d9578919

View File

@ -2636,9 +2636,9 @@ sysctl_kern_sched_topology_spec_internal(struct sbuf *sb, struct cpu_group *cg,
sbuf_printf(sb, "%*s <flags>", indent, ""); sbuf_printf(sb, "%*s <flags>", indent, "");
if (cg->cg_flags != 0) { if (cg->cg_flags != 0) {
if ((cg->cg_flags & CG_FLAG_HTT) != 0) if ((cg->cg_flags & CG_FLAG_HTT) != 0)
sbuf_printf(sb, "<flag name=\"HTT\">HTT group</flag>"); sbuf_printf(sb, "<flag name=\"HTT\">HTT group</flag>\n");
if ((cg->cg_flags & CG_FLAG_THREAD) != 0) if ((cg->cg_flags & CG_FLAG_THREAD) != 0)
sbuf_printf(sb, "<flag name=\"THREAD\">SMT group</flag>"); sbuf_printf(sb, "<flag name=\"THREAD\">SMT group</flag>\n");
} }
sbuf_printf(sb, "</flags>\n"); sbuf_printf(sb, "</flags>\n");