diff options
Diffstat (limited to 'include/libnetlink.h')
-rw-r--r-- | include/libnetlink.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libnetlink.h b/include/libnetlink.h index 898275b8..bc1ab75e 100644 --- a/include/libnetlink.h +++ b/include/libnetlink.h @@ -54,8 +54,8 @@ extern int rtnl_dump_filter_l(struct rtnl_handle *rth, const struct rtnl_dump_filter_arg *arg); extern int rtnl_dump_filter(struct rtnl_handle *rth, rtnl_filter_t filter, void *arg); -extern int rtnl_talk(struct rtnl_handle *rtnl, struct nlmsghdr *n, pid_t peer, - unsigned groups, struct nlmsghdr *answer) +extern int rtnl_talk(struct rtnl_handle *rtnl, struct nlmsghdr *n, + struct nlmsghdr *answer, size_t len) __attribute__((warn_unused_result)); extern int rtnl_send(struct rtnl_handle *rth, const void *buf, int) __attribute__((warn_unused_result)); |