summaryrefslogtreecommitdiffstats
path: root/init/main.c
diff options
context:
space:
mode:
authorAlex Riesen <raa.lkml@gmail.com>2009-05-24 15:30:48 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2009-05-24 20:19:11 +0200
commit657cafa6b0f5296424d6f43f6f6eeb4a3222117e (patch)
treece862fd6b6309dfe39a9071964a0246474765118 /init/main.c
parentLinux 2.6.30-rc7 (diff)
downloadlinux-657cafa6b0f5296424d6f43f6f6eeb4a3222117e.tar.xz
linux-657cafa6b0f5296424d6f43f6f6eeb4a3222117e.zip
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@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init/main.c')
-rw-r--r--init/main.c3
1 files changed, 1 insertions, 2 deletions
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);