pr_err(): don't forget a newline

Unlike pr_perror(), pr_err() does not append a newline.

Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
This commit is contained in:
Kir Kolyshkin 2017-03-23 15:02:03 -07:00 committed by Andrei Vagin
parent 88e5db749c
commit 9e1bde4d57
13 changed files with 23 additions and 20 deletions

View file

@ -25,7 +25,7 @@ int compel_cpuid(compel_cpuinfo_t *info)
info->hwcap[1] = getauxval(AT_HWCAP2);
if (!info->hwcap[0] || !info->hwcap[1]) {
pr_err("Can't read the hardware capabilities");
pr_err("Can't read the hardware capabilities\n");
return -1;
}

View file

@ -515,7 +515,7 @@ int ptrace_get_regs(pid_t pid, user_regs_struct_t *regs)
return ret;
}
pr_err("PTRACE_GETREGSET read %zu bytes for pid %d, but native/compat regs sizes are %zu/%zu bytes",
pr_err("PTRACE_GETREGSET read %zu bytes for pid %d, but native/compat regs sizes are %zu/%zu bytes\n",
iov.iov_len, pid,
sizeof(regs->native), sizeof(regs->compat));
return -1;

View file

@ -896,7 +896,7 @@ int compel_infect(struct parasite_ctl *ctl, unsigned long nr_threads, unsigned l
ret = arch_fetch_sas(ctl, ctl->rsigframe);
if (ret) {
pr_err("Can't fetch sigaltstack for task %d (ret %d)",
pr_err("Can't fetch sigaltstack for task %d (ret %d)\n",
ctl->rpid, ret);
goto err;
}