Add missing '\n' to printk in ACPI code
PATCH 1/1 Add missing '\n' to printk in ACPI code
Hi,
I found out that a printk() in ACPI code is missing the newline; the next kernel message is then appended on the same line (and priority is not stripped), eg:
Device `[FAN0]' is not power manageable<6>ACPI: Fan [FAN0] (on)
This trivial patch (against 2.6.18-rc1) fixes it.
Signed-off-by Luca Tettamanti <[email protected]>
drivers/acpi/bus.c +1 -1
@@ -192,7 +192,7 @@/* Make sure this is a valid target state */ if (!device->flags.power_manageable) { -printk (KERN_DEBUG "Device `[%s]' is not power manageable" , +printk (KERN_DEBUG "Device `[%s]' is not power manageable\n" , device->kobj.name);return -ENODEV ; }
Luca
Signature · 3 lines
Home: http://kronoz.cjb.net Il piu` bel momento dell'amore e` quando ci si illude che duri per sempre; il piu` brutto, quando ci si accorge che dura da troppo.