Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

doc: fix typo in documentation

Also fix typo in source code comment.

Signed-off-by: Thomas Haller <thaller@redhat.com>
  • Loading branch information...
commit 894acf798da0e6f214b637e0d35dd4cec0a7bb6c 1 parent 815e192
@thom311 authored
Showing with 3 additions and 3 deletions.
  1. +2 −2 doc/core.txt
  2. +1 −1  include/netlink-private/types.h
View
4 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);
--------
View
2  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 */
Please sign in to comment.
Something went wrong with that request. Please try again.