[Devel] [PATCH 1/2] netlink: fix warning print

Stanislav Kinsburskiy skinsbursky at virtuozzo.com
Mon Jul 3 17:53:30 MSK 2017


Signed-off-by: Stanislav Kinsburskiy <skinsbursky at virtuozzo.com>
---
 criu/sk-netlink.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/criu/sk-netlink.c b/criu/sk-netlink.c
index 9933e10..a1b09e6 100644
--- a/criu/sk-netlink.c
+++ b/criu/sk-netlink.c
@@ -134,7 +134,7 @@ static int dump_nl_opts(int sk, NlSkOptsEntry *e)
 	len = sizeof(e->listen_all_nsid);
 	if (getsockopt(sk, SOL_NETLINK, NETLINK_LISTEN_ALL_NSID, &e->listen_all_nsid, &len)) {
 		if (errno == ENOPROTOOPT) {
-			pr_warn("Unable to get NETLINK_LISTEN_ALL_NSID");
+			pr_warn("Unable to get NETLINK_LISTEN_ALL_NSID\n");
 		} else {
 			pr_perror("Can't get NETLINK_LISTEN_ALL_NSID opt");
 			ret = -1;



More information about the Devel mailing list