diff --git a/compel/arch/s390/src/lib/cpu.c b/compel/arch/s390/src/lib/cpu.c index 174575f93..b5c066c90 100644 --- a/compel/arch/s390/src/lib/cpu.c +++ b/compel/arch/s390/src/lib/cpu.c @@ -25,7 +25,7 @@ int compel_cpuid(compel_cpuinfo_t *info) info->hwcap[1] = getauxval(AT_HWCAP2); if (!info->hwcap[0]) { - pr_err("Can't read the hardware capabilities"); + pr_err("Can't read the hardware capabilities\n"); return -1; } diff --git a/criu/arch/s390/cpu.c b/criu/arch/s390/cpu.c index 0c32de5ab..f93666ed6 100644 --- a/criu/arch/s390/cpu.c +++ b/criu/arch/s390/cpu.c @@ -103,7 +103,7 @@ int cpu_validate_cpuinfo(void) goto error; if (cpu_info->n_s390_entry != 1) { - pr_err("No S390 related entry in image"); + pr_err("No S390 related entry in image\n"); goto error; } cpu_s390_entry = cpu_info->s390_entry[0]; diff --git a/criu/arch/x86/crtools.c b/criu/arch/x86/crtools.c index af5a315ad..69de23b44 100644 --- a/criu/arch/x86/crtools.c +++ b/criu/arch/x86/crtools.c @@ -59,7 +59,7 @@ int kdat_can_map_vdso(void) } if (waitpid(child, &stat, 0) != child) { - pr_err("Failed to wait for arch_prctl() test"); + pr_err("Failed to wait for arch_prctl() test\n"); kill(child, SIGKILL); return -1; } @@ -154,7 +154,7 @@ static int has_32bit_mmap_bug(void) mmap_bug_test(); if (waitpid(child, &stat, 0) != child) { - pr_err("Failed to wait for mmap test"); + pr_err("Failed to wait for mmap test\n"); kill(child, SIGKILL); return -1; } diff --git a/criu/page-xfer.c b/criu/page-xfer.c index df6d35e0c..853f3ee53 100644 --- a/criu/page-xfer.c +++ b/criu/page-xfer.c @@ -222,7 +222,7 @@ static int write_pages_loc(struct page_xfer *xfer, return -1; } if (ret == 0) { - pr_err("A pipe was closed unexpectedly"); + pr_err("A pipe was closed unexpectedly\n"); return -1; } curr += ret; @@ -682,7 +682,7 @@ static int page_server_add(int sk, struct page_server_iov *pi, u32 flags) return -1; } if (chunk == 0) { - pr_err("A socket was closed unexpectedly"); + pr_err("A socket was closed unexpectedly\n"); return -1; }