diff --git a/kernel/livepatch/core.c b/kernel/livepatch/core.c index e8bdce6fdd64..f5faf935c2d8 100644 --- a/kernel/livepatch/core.c +++ b/kernel/livepatch/core.c @@ -245,7 +245,7 @@ static int klp_resolve_symbols(Elf_Shdr *sechdrs, const char *strtab, * symbols are exported and normal relas can be used instead. */ if (!sec_vmlinux && sym_vmlinux) { - pr_err("invalid access to vmlinux symbol '%s' from module-specific livepatch relocation section", + pr_err("invalid access to vmlinux symbol '%s' from module-specific livepatch relocation section\n", sym_name); return -EINVAL; }