regulatory: add NUL to alpha2
[pandora-kernel.git] / include / linux / moduleloader.h
index 560ca53..7eeb9bb 100644 (file)
@@ -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