From e7b44c4c1d7d0f182f0100b0dc31c20fb3dfe8ea Mon Sep 17 00:00:00 2001 From: Alex Riesen Date: Wed, 25 Feb 2009 09:53:15 +0100 Subject: [PATCH] Use a format string for linux_banner There is no format specifiers left in the linux_banner, and gcc complains seeing the printk. Signed-off-by: Alex Riesen --- init/main.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/init/main.c b/init/main.c index 8442094..78fc0d8 100644 --- a/init/main.c +++ b/init/main.c @@ -554,7 +554,7 @@ asmlinkage void __init start_kernel(void) boot_cpu_init(); page_address_init(); printk(KERN_NOTICE); - printk(linux_banner); + printk("%s", linux_banner); setup_arch(&command_line); mm_init_owner(&init_mm, &init_task); setup_command_line(command_line); -- 1.6.2.rc1.46.gb3ec84f