Date: Tue, 09 Sep 2003 00:26:01 +0200 From: Pawel Worach <pawel.worach@telia.com> To: freebsd-current@freebsd.org Subject: [patch] annoying newline in kernel printf Message-ID: <3F5D01F9.3080905@telia.com>
next in thread | raw e-mail | index | archive | help
Is this blank line necessary?
-- dmesg snippet --
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via IOAPIC #0 intpin 2
Timecounters tick every 10.000 msec
acpi_cpu: throttling enabled, 2 steps (100% to 50.0%), currently 100.0%
GEOM: create disk ad4 dp=0xc2490870
- Pawel
sys/kern/kern_tc.c:
$FreeBSD: src/sys/kern/kern_tc.c,v 1.157 2003/09/03 08:14:16 phk Exp $
--- sys/kern/kern_tc.c.org Tue Sep 9 00:21:30 2003
+++ sys/kern/kern_tc.c Tue Sep 9 00:21:57 2003
@@ -297,12 +297,11 @@
printf(" -- Insufficient hz, needs at least
%u\n", u);
}
} else if (tc->tc_quality >= 0 || bootverbose) {
- printf("Timecounter \"%s\" frequency %ju Hz quality %d",
+ printf("Timecounter \"%s\" frequency %ju Hz quality %d\n",
tc->tc_name, (intmax_t)tc->tc_frequency,
tc->tc_quality);
}
- printf("\n");
tc->tc_next = timecounters;
timecounters = tc;
(void)tc->tc_get_timecount(tc);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F5D01F9.3080905>
