summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2010-07-03 13:14:13 (GMT)
committerThomas Graf <tgraf@suug.ch>2010-07-03 13:15:12 (GMT)
commit256d7e723c0ff402422d3501866e9301b3f64c0f (patch)
tree2a60bac123e7536e16188bc008166f9ca9ef1124 /lib
parentdb5bd57899affbcaf42ac0b93c5c7be8f51ca390 (diff)
downloadlibnl-256d7e723c0ff402422d3501866e9301b3f64c0f.zip
libnl-256d7e723c0ff402422d3501866e9301b3f64c0f.tar.gz
libnl-256d7e723c0ff402422d3501866e9301b3f64c0f.tar.bz2
Fix compile warning in nl.c
Diffstat (limited to 'lib')
-rw-r--r--lib/nl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/nl.c b/lib/nl.c
index ed501f7..c453b60 100644
--- a/lib/nl.c
+++ b/lib/nl.c
@@ -232,7 +232,7 @@ int nl_sendmsg(struct nl_sock *sk, struct nl_msg *msg, struct msghdr *hdr)
* @see nl_sendmsg()
* @return Number of characters sent on success or a negative error code.
*/
-int nl_send_iovec(struct nl_sock *sk, struct nl_msg *msg, const struct iovec *iov, unsigned iovlen)
+int nl_send_iovec(struct nl_sock *sk, struct nl_msg *msg, struct iovec *iov, unsigned iovlen)
{
struct sockaddr_nl *dst;
struct ucred *creds;