[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>
This commit is contained in:
committed by
Linus Torvalds
parent
8edf51a5ee
commit
3eb3c740f5
@@ -47,7 +47,6 @@
|
||||
#include <linux/vmalloc.h>
|
||||
#include <linux/crash_dump.h>
|
||||
#include <linux/pid_namespace.h>
|
||||
#include <linux/compile.h>
|
||||
#include <asm/uaccess.h>
|
||||
#include <asm/pgtable.h>
|
||||
#include <asm/io.h>
|
||||
@@ -254,12 +253,7 @@ static int version_read_proc(char *page, char **start, off_t off,
|
||||
{
|
||||
int len;
|
||||
|
||||
/* FIXED STRING! Don't touch! */
|
||||
len = snprintf(page, PAGE_SIZE,
|
||||
"%s version %s"
|
||||
" (" LINUX_COMPILE_BY "@" LINUX_COMPILE_HOST ")"
|
||||
" (" LINUX_COMPILER ")"
|
||||
" %s\n",
|
||||
len = snprintf(page, PAGE_SIZE, linux_proc_banner,
|
||||
utsname()->sysname,
|
||||
utsname()->release,
|
||||
utsname()->version);
|
||||
|
Reference in New Issue
Block a user