tools headers UAPI: Sync openat2.h with the kernel sources
[linux-2.6-microblaze.git] / kernel / module_signing.c
index 9d9fc67..8723ae7 100644 (file)
@@ -30,7 +30,7 @@ int mod_verify_sig(const void *mod, struct load_info *info)
 
        memcpy(&ms, mod + (modlen - sizeof(ms)), sizeof(ms));
 
-       ret = mod_check_sig(&ms, modlen, info->name);
+       ret = mod_check_sig(&ms, modlen, "module");
        if (ret)
                return ret;