kmod/core: use pr_err instead of printk

This commit is contained in:
Josh Poimboeuf 2014-06-29 21:59:38 -05:00
parent faa37ffa2a
commit b6541ab85b

View File

@ -583,7 +583,7 @@ static int kpatch_write_relocations(struct kpatch_module *kpmod,
size = 8;
break;
default:
printk("unsupported rela type %ld for source %s (0x%lx <- 0x%lx)\n",
pr_err("unsupported rela type %ld for source %s (0x%lx <- 0x%lx)\n",
dynrela->type, dynrela->name,
dynrela->dest, dynrela->src);
return -EINVAL;