|
@@ -45,7 +45,8 @@ static inline int apply_relocate(Elf_Shdr *sechdrs,
|
|
|
unsigned int relsec,
|
|
|
struct module *me)
|
|
|
{
|
|
|
- printk(KERN_ERR "module %s: REL relocation unsupported\n", me->name);
|
|
|
+ printk(KERN_ERR "module %s: REL relocation unsupported\n",
|
|
|
+ module_name(me));
|
|
|
return -ENOEXEC;
|
|
|
}
|
|
|
#endif
|
|
@@ -67,7 +68,8 @@ static inline int apply_relocate_add(Elf_Shdr *sechdrs,
|
|
|
unsigned int relsec,
|
|
|
struct module *me)
|
|
|
{
|
|
|
- printk(KERN_ERR "module %s: REL relocation unsupported\n", me->name);
|
|
|
+ printk(KERN_ERR "module %s: REL relocation unsupported\n",
|
|
|
+ module_name(me));
|
|
|
return -ENOEXEC;
|
|
|
}
|
|
|
#endif
|