summaryrefslogtreecommitdiffstats
path: root/examples/rtnl/rtnl-route-add.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/rtnl/rtnl-route-add.c')
-rw-r--r--examples/rtnl/rtnl-route-add.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/rtnl/rtnl-route-add.c b/examples/rtnl/rtnl-route-add.c
index 6d070b8..97578cd 100644
--- a/examples/rtnl/rtnl-route-add.c
+++ b/examples/rtnl/rtnl-route-add.c
@@ -105,7 +105,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);
}