summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiri Pirko <jpirko@redhat.com>2011-08-30 18:33:25 +0200
committerThomas Graf <tgraf@lsx.localdomain>2011-08-31 09:24:01 +0200
commit17781e44dd6242fc8cecd07b757e7bb0afc87113 (patch)
tree0f6c0fd3c7c607749d9577576eb48cb39274864d
parent6faeffe64acd7d94f152afbb99ab811949308b11 (diff)
downloadlibnl-17781e44dd6242fc8cecd07b757e7bb0afc87113.tar.gz
socket: fix two typos
Signed-off-by: Jiri Pirko <jpirko@redhat.com>
-rw-r--r--lib/socket.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/socket.c b/lib/socket.c
index 565248f..01b9872 100644
--- a/lib/socket.c
+++ b/lib/socket.c
@@ -495,12 +495,12 @@ void nl_socket_set_cb(struct nl_sock *sk, struct nl_cb *cb)
}
/**
- * Modify the callback handler associated to the socket
+ * Modify the callback handler associated with the socket
* @arg sk Netlink socket.
* @arg type which type callback to set
* @arg kind kind of callback
* @arg func callback function
- * @arg arg argument to be passwd to callback function
+ * @arg arg argument to be passed to callback function
*
* @see nl_cb_set
*/