summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/core.txt4
-rw-r--r--include/netlink-private/types.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/core.txt b/doc/core.txt
index 1e951d0..3dff70f 100644
--- a/doc/core.txt
+++ b/doc/core.txt
@@ -2526,7 +2526,7 @@ Message processing callback functions are set with nl_cb_set():
#include <netlink/handlers.h>
int nl_cb_set(struct nl_cb *cb, enum nl_cb_type type, enum nl_cb_kind kind,
- nl_recvmsg_msg_cb_t func, void *cb);
+ nl_recvmsg_msg_cb_t func, void *arg);
typedef int (*nl_recvmsg_msg_cb_t)(struct nl_msg *msg, void *arg);
--------
@@ -2539,7 +2539,7 @@ A special function prototype is used for the error message callback hook:
--------
#include <netlink/handlers.h>
-int nl_cb_err(struct nl_cb *cb, enum nl_cb_kind kind, nl_recvmsg_err_cb_t func, void * arg);
+int nl_cb_err(struct nl_cb *cb, enum nl_cb_kind kind, nl_recvmsg_err_cb_t func, void *arg);
typedef int(* nl_recvmsg_err_cb_t)(struct sockaddr_nl *nla, struct nlmsgerr *nlerr, void *arg);
--------
diff --git a/include/netlink-private/types.h b/include/netlink-private/types.h
index 6750be7..6f21311 100644
--- a/include/netlink-private/types.h
+++ b/include/netlink-private/types.h
@@ -231,7 +231,7 @@ struct rtnl_addr_cacheinfo
/* Valid lifetime in seconds */
uint32_t aci_valid;
- /* Timestamp of creation in 1/100s seince boottime */
+ /* Timestamp of creation in 1/100s since boottime */
uint32_t aci_cstamp;
/* Timestamp of last update in 1/100s since boottime */