Commit 23d619a5 authored by Andrei Vagin's avatar Andrei Vagin Committed by Andrei Vagin

criu: add a few missing newlines in pr_err()

Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
parent b939a4df
...@@ -1233,7 +1233,7 @@ static int veth_peer_info(struct net_link *link, struct newlink_req *req, ...@@ -1233,7 +1233,7 @@ static int veth_peer_info(struct net_link *link, struct newlink_req *req,
return 0; return 0;
} }
out: out:
pr_err("Unknown peer net namespace"); pr_err("Unknown peer net namespace\n");
return -1; return -1;
} }
...@@ -1703,7 +1703,7 @@ static int restore_links() ...@@ -1703,7 +1703,7 @@ static int restore_links()
if (nrcreated == nrlinks) if (nrcreated == nrlinks)
break; break;
if (nrcreated == 0) { if (nrcreated == 0) {
pr_err("Unable to restore network links"); pr_err("Unable to restore network links\n");
return -1; return -1;
} }
} }
......
...@@ -302,7 +302,7 @@ static int resolve_rel_name(uint32_t id, struct unix_sk_desc *sk, const struct f ...@@ -302,7 +302,7 @@ static int resolve_rel_name(uint32_t id, struct unix_sk_desc *sk, const struct f
dir[ret] = 0; dir[ret] = 0;
if (snprintf(path, sizeof(path), ".%s/%s", dir, sk->name) >= sizeof(path)) { 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; goto err;
} }
if (fstatat(mntns_root, path, &st, 0)) { if (fstatat(mntns_root, path, &st, 0)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment