From: Jesse Gross Date: Mon, 8 Jul 2013 21:51:27 +0000 (-0700) Subject: datapath: Make netlink error messages more consistent. X-Git-Url: http://git.onelab.eu/?p=sliver-openvswitch.git;a=commitdiff_plain;h=17ce1965b35adf6da6934c9e256df038e470d1e2 datapath: Make netlink error messages more consistent. Suggested-by: Andy Zhou Signed-off-by: Jesse Gross --- 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; }