From 73b9805968e430d4328f5eca78574b6c0987f2cf Mon Sep 17 00:00:00 2001 From: Ken-ichirou MATSUZAWA Date: Sat, 7 Dec 2013 20:23:10 +0900 Subject: examples: fix trivial error message Signed-off-by: Ken-ichirou MATSUZAWA Signed-off-by: Florian Westphal --- examples/rtnl/rtnl-route-dump.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/rtnl/rtnl-route-dump.c') diff --git a/examples/rtnl/rtnl-route-dump.c b/examples/rtnl/rtnl-route-dump.c index 33cb2df..9829e36 100644 --- a/examples/rtnl/rtnl-route-dump.c +++ b/examples/rtnl/rtnl-route-dump.c @@ -182,7 +182,7 @@ static int data_ipv6_attr_cb(const struct nlattr *attr, void *data) case RTA_GATEWAY: if (mnl_attr_validate2(attr, MNL_TYPE_BINARY, sizeof(struct in6_addr)) < 0) { - perror("mnl_attr_validate"); + perror("mnl_attr_validate2"); return MNL_CB_ERROR; } break; @@ -330,7 +330,7 @@ int main(int argc, char *argv[]) portid = mnl_socket_get_portid(nl); if (mnl_socket_sendto(nl, nlh, nlh->nlmsg_len) < 0) { - perror("mnl_socket_send"); + perror("mnl_socket_sendto"); exit(EXIT_FAILURE); } -- cgit v1.2.3