From: pritesh Date: Mon, 19 Aug 2013 19:00:22 +0000 (-0700) Subject: datapath: Fix typos in Netlink debugging messages. X-Git-Tag: sliver-openvswitch-2.0.90-1~20^2~39 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=e821558d0a236874726a0ab887d9fb5f170f155d;p=sliver-openvswitch.git datapath: Fix typos in Netlink debugging messages. Signed-off-by: pritesh Signed-off-by: Jesse Gross --- diff --git a/datapath/flow.c b/datapath/flow.c index 407535063..3b3e0aa02 100644 --- a/datapath/flow.c +++ b/datapath/flow.c @@ -1202,7 +1202,7 @@ int ovs_ipv4_tun_from_nlattr(const struct nlattr *attr, 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", + " length (type=%d, length=%d, expected=%d).\n", type, nla_len(a), ovs_tunnel_key_lens[type]); return -EINVAL; } @@ -1389,7 +1389,7 @@ static int ovs_key_from_nlattrs(struct sw_flow_match *match, u64 attrs, /* Always exact match EtherType. */ eth_type = htons(0xffff); } else if (ntohs(eth_type) < ETH_P_802_3_MIN) { - OVS_NLERR("EtherType is less than mimimum (type=%x, min=%x).\n", + OVS_NLERR("EtherType is less than minimum (type=%x, min=%x).\n", ntohs(eth_type), ETH_P_802_3_MIN); return -EINVAL; }