From: Alex Riesen Date: Sun, 24 May 2009 13:30:48 +0000 (+0200) Subject: Use a format for linux_banner X-Git-Tag: v2.6.30-rc8~63 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=657cafa6b0f5296424d6f43f6f6eeb4a3222117e;p=karo-tx-linux.git 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 Signed-off-by: Linus Torvalds --- diff --git a/init/main.c b/init/main.c index 3bbf93be744c..d721dad05dd7 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);