From 17ce1965b35adf6da6934c9e256df038e470d1e2 Mon Sep 17 00:00:00 2001 From: Jesse Gross Date: Mon, 8 Jul 2013 14:51:27 -0700 Subject: [PATCH] datapath: Make netlink error messages more consistent. Suggested-by: Andy Zhou Signed-off-by: Jesse Gross --- datapath/flow.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/datapath/flow.c b/datapath/flow.c index c76c18da3..adb918fdc 100644 --- a/datapath/flow.c +++ b/datapath/flow.c @@ -1197,14 +1197,14 @@ int ipv4_tun_from_nlattr(const struct nlattr *attr, }; if (type > OVS_TUNNEL_KEY_ATTR_MAX) { - OVS_NLERR("Unknown IPv4 tunnel attribute (type=%d, max=%d)\n", + OVS_NLERR("Unknown IPv4 tunnel attribute (type=%d, max=%d).\n", type, OVS_TUNNEL_KEY_ATTR_MAX); return -EINVAL; } if (ovs_tunnel_key_lens[type] != nla_len(a)) { OVS_NLERR("IPv4 tunnel attribute type has unexpected " - " legnth (type=%d, length=%d, expected=%d.)\n", + " legnth (type=%d, length=%d, expected=%d).\n", type, nla_len(a), ovs_tunnel_key_lens[type]); return -EINVAL; } -- 2.47.0