[PATCH 2/2] route/link: add missing newlines after debug messages

Beniamino Galvani bgalvani at redhat.com
Mon Oct 5 01:55:39 PDT 2015


Signed-off-by: Beniamino Galvani <bgalvani at redhat.com>
---
 lib/route/link/can.c     | 2 +-
 lib/route/link/ip6tnl.c  | 2 +-
 lib/route/link/ipgre.c   | 2 +-
 lib/route/link/ipip.c    | 2 +-
 lib/route/link/ipvlan.c  | 2 +-
 lib/route/link/ipvti.c   | 2 +-
 lib/route/link/macvlan.c | 2 +-
 lib/route/link/sit.c     | 2 +-
 lib/route/link/veth.c    | 2 +-
 lib/route/link/vlan.c    | 2 +-
 lib/route/link/vxlan.c   | 2 +-
 11 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/lib/route/link/can.c b/lib/route/link/can.c
index 4ce554b..884121f 100644
--- a/lib/route/link/can.c
+++ b/lib/route/link/can.c
@@ -93,7 +93,7 @@ static int can_parse(struct rtnl_link *link, struct nlattr *data,
 	struct can_info *ci;
 	int err;
 
-	NL_DBG(3, "Parsing CAN link info");
+	NL_DBG(3, "Parsing CAN link info\n");
 
 	if ((err = nla_parse_nested(tb, IFLA_CAN_MAX, data, can_policy)) < 0)
 		goto errout;
diff --git a/lib/route/link/ip6tnl.c b/lib/route/link/ip6tnl.c
index 378b8a3..59b06b7 100644
--- a/lib/route/link/ip6tnl.c
+++ b/lib/route/link/ip6tnl.c
@@ -93,7 +93,7 @@ static int ip6_tnl_parse(struct rtnl_link *link, struct nlattr *data,
 	struct ip6_tnl_info *ip6_tnl;
 	int err;
 
-	NL_DBG(3, "Parsing IP6_TNL link info");
+	NL_DBG(3, "Parsing IP6_TNL link info\n");
 
 	err = nla_parse_nested(tb, IFLA_IPTUN_MAX, data, ip6_tnl_policy);
 	if (err < 0)
diff --git a/lib/route/link/ipgre.c b/lib/route/link/ipgre.c
index 2ff03fc..2fda637 100644
--- a/lib/route/link/ipgre.c
+++ b/lib/route/link/ipgre.c
@@ -95,7 +95,7 @@ static int ipgre_parse(struct rtnl_link *link, struct nlattr *data,
 	struct ipgre_info *ipgre;
 	int err;
 
-	NL_DBG(3, "Parsing IPGRE link info");
+	NL_DBG(3, "Parsing IPGRE link info\n");
 
 	err = nla_parse_nested(tb, IFLA_GRE_MAX, data, ipgre_policy);
 	if (err < 0)
diff --git a/lib/route/link/ipip.c b/lib/route/link/ipip.c
index 38f8fef..5ded380 100644
--- a/lib/route/link/ipip.c
+++ b/lib/route/link/ipip.c
@@ -82,7 +82,7 @@ static int ipip_parse(struct rtnl_link *link, struct nlattr *data,
 	struct ipip_info *ipip;
 	int err;
 
-	NL_DBG(3, "Parsing IPIP link info");
+	NL_DBG(3, "Parsing IPIP link info\n");
 
 	err = nla_parse_nested(tb, IFLA_IPTUN_MAX, data, ipip_policy);
 	if (err < 0)
diff --git a/lib/route/link/ipvlan.c b/lib/route/link/ipvlan.c
index ad98666..84ace43 100644
--- a/lib/route/link/ipvlan.c
+++ b/lib/route/link/ipvlan.c
@@ -71,7 +71,7 @@ static int ipvlan_parse(struct rtnl_link *link, struct nlattr *data,
 	struct ipvlan_info *ipi;
 	int err;
 
-	NL_DBG(3, "Parsing IPVLAN link info");
+	NL_DBG(3, "Parsing IPVLAN link info\n");
 
 	if ((err = nla_parse_nested(tb, IFLA_IPVLAN_MAX, data, ipvlan_policy)) < 0)
 		goto errout;
diff --git a/lib/route/link/ipvti.c b/lib/route/link/ipvti.c
index b94c573..d627a8e 100644
--- a/lib/route/link/ipvti.c
+++ b/lib/route/link/ipvti.c
@@ -79,7 +79,7 @@ static int ipvti_parse(struct rtnl_link *link, struct nlattr *data,
 	struct ipvti_info *ipvti;
 	int err;
 
-	NL_DBG(3, "Parsing IPVTI link info");
+	NL_DBG(3, "Parsing IPVTI link info\n");
 
 	err = nla_parse_nested(tb, IFLA_GRE_MAX, data, ipvti_policy);
 	if (err < 0)
diff --git a/lib/route/link/macvlan.c b/lib/route/link/macvlan.c
index f422431..9c59f5e 100644
--- a/lib/route/link/macvlan.c
+++ b/lib/route/link/macvlan.c
@@ -76,7 +76,7 @@ static int macvlan_parse(struct rtnl_link *link, struct nlattr *data,
 	struct macvlan_info *mvi;
 	int err;
 
-	NL_DBG(3, "Parsing %s link info", link->l_info_ops->io_name);
+	NL_DBG(3, "Parsing %s link info\n", link->l_info_ops->io_name);
 
 	if ((err = nla_parse_nested(tb, IFLA_MACVLAN_MAX, data, macvlan_policy)) < 0)
 		goto errout;
diff --git a/lib/route/link/sit.c b/lib/route/link/sit.c
index 788bbb8..75987b9 100644
--- a/lib/route/link/sit.c
+++ b/lib/route/link/sit.c
@@ -89,7 +89,7 @@ static int sit_parse(struct rtnl_link *link, struct nlattr *data,
 	struct sit_info *sit;
 	int err;
 
-	NL_DBG(3, "Parsing SIT link info");
+	NL_DBG(3, "Parsing SIT link info\n");
 
 	err = nla_parse_nested(tb, IFLA_IPTUN_MAX, data, sit_policy);
 	if (err < 0)
diff --git a/lib/route/link/veth.c b/lib/route/link/veth.c
index 1c5b125..0cc3a4a 100644
--- a/lib/route/link/veth.c
+++ b/lib/route/link/veth.c
@@ -46,7 +46,7 @@ static int veth_parse(struct rtnl_link *link, struct nlattr *data,
 	struct rtnl_link *peer = link->l_info;
 	int err;
 
-	NL_DBG(3, "Parsing veth link info");
+	NL_DBG(3, "Parsing veth link info\n");
 
 	if ((err = nla_parse_nested(tb, VETH_INFO_MAX, data, veth_policy)) < 0)
 		goto errout;
diff --git a/lib/route/link/vlan.c b/lib/route/link/vlan.c
index d266b7e..a623bbd 100644
--- a/lib/route/link/vlan.c
+++ b/lib/route/link/vlan.c
@@ -88,7 +88,7 @@ static int vlan_parse(struct rtnl_link *link, struct nlattr *data,
 	struct vlan_info *vi;
 	int err;
 
-	NL_DBG(3, "Parsing VLAN link info");
+	NL_DBG(3, "Parsing VLAN link info\n");
 
 	if ((err = nla_parse_nested(tb, IFLA_VLAN_MAX, data, vlan_policy)) < 0)
 		goto errout;
diff --git a/lib/route/link/vxlan.c b/lib/route/link/vxlan.c
index 8a9c6e0..127d2dd 100644
--- a/lib/route/link/vxlan.c
+++ b/lib/route/link/vxlan.c
@@ -110,7 +110,7 @@ static int vxlan_parse(struct rtnl_link *link, struct nlattr *data,
 	struct vxlan_info *vxi;
 	int err;
 
-	NL_DBG(3, "Parsing VXLAN link info");
+	NL_DBG(3, "Parsing VXLAN link info\n");
 
 	if ((err = nla_parse_nested(tb, IFLA_VXLAN_MAX, data, vxlan_policy)) < 0)
 		goto errout;
-- 
2.4.3




More information about the libnl mailing list