[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20090524133047.GA24869@blimp.localdomain>
Date: Sun, 24 May 2009 15:30:48 +0200
From: Alex Riesen <raa.lkml@...il.com>
To: linux-kernel@...r.kernel.org
Cc: trivial@...nel.org, Stefan Richter <stefanr@...6.in-berlin.de>,
Andrew Morton <akpm@...ux-foundation.org>,
Linus Torvalds <torvalds@...ux-foundation.org>
Subject: [PATCH] Use a format for linux_banner
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@...il.com>
---
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)
tick_init();
boot_cpu_init();
page_address_init();
- printk(KERN_NOTICE);
- printk(linux_banner);
+ printk(KERN_NOTICE "%s", linux_banner);
setup_arch(&command_line);
mm_init_owner(&init_mm, &init_task);
setup_command_line(command_line);
--
1.6.3.1.171.ge2f07
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists