* [PATCH] Add missing '\n' to printk in ACPI code
@ 2006-07-08 19:24 Luca Tettamanti
0 siblings, 0 replies; only message in thread
From: Luca Tettamanti @ 2006-07-08 19:24 UTC (permalink / raw)
To: linux-kernel; +Cc: len.brown, linux-acpi, akpm
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 <kronos.it@gmail.com>
--- a/drivers/acpi/bus.c 2006-07-08 15:12:32.855837715 +0200
+++ b/drivers/acpi/bus.c 2006-07-08 15:12:46.848712215 +0200
@@ -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
--
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.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-07-08 19:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-08 19:24 [PATCH] Add missing '\n' to printk in ACPI code Luca Tettamanti
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®