[PATCH] Use a format for linux_banner

From: Alex Riesen
Date: Sun May 24 2009 - 09:31:22 EST

There is no format specifiers left in the linux_banner, and gcc-4.3
complains seeing the printk.

Signed-off-by: Alex Riesen <raa.lkml@xxxxxxxxx>

Linus Torvalds, Sat, Feb 28, 2009 18:27:07 +0100:
> What people _can_ do is to send it both as a crazy attachment _and_ as
> plaintext. If they plaintext gets corrupted, the attachment still works,
> and the plaintext is at least somethign I can see and thus in my mail
> reader decide whether it's worth my time to save the attachment and look
> at it outside the mail reader.

Resent properly. Sorry, took me a while.

init/main.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/init/main.c b/init/main.c
index 3bbf93b..d721dad 100644
--- a/init/main.c
+++ b/init/main.c
@@ -566,8 +566,7 @@ asmlinkage void __init start_kernel(void)
- printk(KERN_NOTICE);
- printk(linux_banner);
+ printk(KERN_NOTICE "%s", linux_banner);
mm_init_owner(&init_mm, &init_task);

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/