[patch] annoying newline in kernel printf

From: Pawel Worach <pawel.worach_at_telia.com>
Date: Tue, 09 Sep 2003 00:26:01 +0200
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
_at__at_ -297,12 +297,11 _at__at_
                        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);
Received on Mon Sep 08 2003 - 13:26:04 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:21 UTC