x86: use KSYM_NAME_LEN

Use KSYM_NAME_LEN instead of numeric value

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
Cyrill Gorcunov 2008-01-30 13:33:33 +01:00 committed by Ingo Molnar
parent 3effef1f3b
commit 85e2aeea80

View file

@ -107,7 +107,7 @@ void printk_address(unsigned long address, int reliable)
const char *symname;
char *modname;
char *delim = ":";
char namebuf[128];
char namebuf[KSYM_NAME_LEN];
char reliab[4] = "";
symname = kallsyms_lookup(address, &symsize, &offset,