aboutsummaryrefslogtreecommitdiffstats
path: root/init/version.c
diff options
context:
space:
mode:
authorRoman Zippel <zippel@linux-m68k.org>2007-01-10 08:45:28 -0500
committerLinus Torvalds <torvalds@woody.osdl.org>2007-01-10 12:33:59 -0500
commit3eb3c740f51c2126b53c2dde974c1c57e634aa7b (patch)
treebbc9a1152685d8ed97f231e4ff161d01d58f0fe2 /init/version.c
parent8edf51a5ee38eb40de5449e131fd36450a229430 (diff)
[PATCH] fix linux banner format string
Revert previous attempts at messing with the linux banner string and simply use a separate format string for proc. Signed-off-by: Roman Zippel <zippel@linux-m68k.org> Acked-by: Olaf Hering <olaf@aepfle.de> Acked-by: Jean Delvare <khali@linux-fr.org> Cc: Andrey Borzenkov <arvidjaar@mail.ru> Cc: Andrew Morton <akpm@osdl.org> Cc: Andy Whitcroft <apw@shadowen.org> Cc: Herbert Poetzl <herbert@13thfloor.at> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'init/version.c')
-rw-r--r--init/version.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/init/version.c b/init/version.c
index 9d96d36501ca..55abe76f4ec9 100644
--- a/init/version.c
+++ b/init/version.c
@@ -33,3 +33,13 @@ struct uts_namespace init_uts_ns = {
33 }, 33 },
34}; 34};
35EXPORT_SYMBOL_GPL(init_uts_ns); 35EXPORT_SYMBOL_GPL(init_uts_ns);
36
37/* FIXED STRING! Don't touch! */
38const char __init linux_banner[] =
39 "Linux version " UTS_RELEASE " (" LINUX_COMPILE_BY "@"
40 LINUX_COMPILE_HOST ") (" LINUX_COMPILER ") " UTS_VERSION "\n";
41
42const char linux_proc_banner[] =
43 "%s version %s"
44 " (" LINUX_COMPILE_BY "@" LINUX_COMPILE_HOST ")"
45 " (" LINUX_COMPILER ") %s\n";