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

Submitted by Stanislav Kinsburskiy on July 3, 2017, 2:53 p.m.

Details

Message ID 20170703145330.695531.14096.stgit@skinsbursky-vz7.qa.sw.ru
State New
Series "A couple of print fixes"
Headers show

Commit Message

Stanislav Kinsburskiy July 3, 2017, 2:53 p.m.
Signed-off-by: Stanislav Kinsburskiy <skinsbursky@virtuozzo.com>
---
 criu/sk-netlink.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

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;