Skip to content

Commit

Permalink
Use a format for linux_banner
Browse files Browse the repository at this point in the history
There is no format specifiers left in the linux_banner, and gcc-4.3
complains seeing the printk.

Signed-off-by: Alex Riesen <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
raalkml authored and torvalds committed May 24, 2009
1 parent 59a3759 commit 657cafa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions init/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 657cafa

Please sign in to comment.