summaryrefslogtreecommitdiff
path: root/examples/rtnl/rtnl-link-event.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/rtnl/rtnl-link-event.c')
-rw-r--r--examples/rtnl/rtnl-link-event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/rtnl/rtnl-link-event.c b/examples/rtnl/rtnl-link-event.c
index 90bb8e5..123fb88 100644
--- a/examples/rtnl/rtnl-link-event.c
+++ b/examples/rtnl/rtnl-link-event.c
@@ -26,7 +26,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;
}
break;