diff options
author | Alex Riesen <raa.lkml@gmail.com> | 2009-05-24 15:30:48 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-05-24 20:19:11 +0200 |
commit | 657cafa6b0f5296424d6f43f6f6eeb4a3222117e (patch) | |
tree | ce862fd6b6309dfe39a9071964a0246474765118 /init/main.c | |
parent | Linux 2.6.30-rc7 (diff) | |
download | linux-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.c | 3 |
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); |