Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Dec 2008 16:19:59 +0000 (UTC)
From:      Ivan Voras <ivoras@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r186435 - head/sys/kern
Message-ID:  <200812231619.mBNGJxMq006991@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ivoras
Date: Tue Dec 23 16:19:59 2008
New Revision: 186435
URL: http://svn.freebsd.org/changeset/base/186435

Log:
  Add missing newlines to flags tags of CPU topology, for prettier
  output.
  
  Reviewed by:	jeff (original version)
  Approved by:	gnn (mentor) (original version)

Modified:
  head/sys/kern/sched_ule.c

Modified: head/sys/kern/sched_ule.c
==============================================================================
--- head/sys/kern/sched_ule.c	Tue Dec 23 16:16:30 2008	(r186434)
+++ head/sys/kern/sched_ule.c	Tue Dec 23 16:19:59 2008	(r186435)
@@ -2636,9 +2636,9 @@ sysctl_kern_sched_topology_spec_internal
 	sbuf_printf(sb, "%*s <flags>", indent, "");
 	if (cg->cg_flags != 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)
-			sbuf_printf(sb, "<flag name=\"THREAD\">SMT group</flag>");
+			sbuf_printf(sb, "<flag name=\"THREAD\">SMT group</flag>\n");
 	}
 	sbuf_printf(sb, "</flags>\n");
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812231619.mBNGJxMq006991>