From 23d619a53cefd20551b7d778c92a00a90371990d Mon Sep 17 00:00:00 2001 From: Andrei Vagin Date: Fri, 27 Jul 2018 05:18:53 +0300 Subject: [PATCH] criu: add a few missing newlines in pr_err() Signed-off-by: Andrei Vagin --- criu/net.c | 4 ++-- criu/sk-unix.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/criu/net.c b/criu/net.c index b87b3b33a..f523bc192 100644 --- a/criu/net.c +++ b/criu/net.c @@ -1233,7 +1233,7 @@ static int veth_peer_info(struct net_link *link, struct newlink_req *req, return 0; } out: - pr_err("Unknown peer net namespace"); + pr_err("Unknown peer net namespace\n"); return -1; } @@ -1703,7 +1703,7 @@ static int restore_links() if (nrcreated == nrlinks) break; if (nrcreated == 0) { - pr_err("Unable to restore network links"); + pr_err("Unable to restore network links\n"); return -1; } } diff --git a/criu/sk-unix.c b/criu/sk-unix.c index d7086bbc6..c10ca9707 100644 --- a/criu/sk-unix.c +++ b/criu/sk-unix.c @@ -302,7 +302,7 @@ static int resolve_rel_name(uint32_t id, struct unix_sk_desc *sk, const struct f dir[ret] = 0; if (snprintf(path, sizeof(path), ".%s/%s", dir, sk->name) >= sizeof(path)) { - pr_err("The path .%s/%s is too long", dir, sk->name); + pr_err("The path .%s/%s is too long\n", dir, sk->name); goto err; } if (fstatat(mntns_root, path, &st, 0)) {