diff options
author | Ken-ichirou MATSUZAWA <chamaken@gmail.com> | 2013-12-07 20:23:10 +0900 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2013-12-07 12:53:46 +0100 |
commit | 73b9805968e430d4328f5eca78574b6c0987f2cf (patch) | |
tree | df611dc5d0c3941640522171c96eea89bb415021 /examples/rtnl/rtnl-link-dump2.c | |
parent | c7a66dd8c1cc25889fdb91c5ef92e92d55119497 (diff) |
examples: fix trivial error message
Signed-off-by: Ken-ichirou MATSUZAWA <chamas@h4.dion.ne.jp>
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'examples/rtnl/rtnl-link-dump2.c')
-rw-r--r-- | examples/rtnl/rtnl-link-dump2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/rtnl/rtnl-link-dump2.c b/examples/rtnl/rtnl-link-dump2.c index 78f31a8..b3ca3fa 100644 --- a/examples/rtnl/rtnl-link-dump2.c +++ b/examples/rtnl/rtnl-link-dump2.c @@ -25,7 +25,7 @@ static int data_attr_cb(const struct nlattr *attr, void *data) break; case IFLA_IFNAME: if (mnl_attr_validate(attr, MNL_TYPE_STRING) < 0) { - perror("mnl_attr_validate2"); + perror("mnl_attr_validate"); return MNL_CB_ERROR; } printf("name=%s ", mnl_attr_get_str(attr)); @@ -81,7 +81,7 @@ int main(void) 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); } |