diff options
author | dwmalone <dwmalone@FreeBSD.org> | 2004-07-12 21:42:33 +0000 |
---|---|---|
committer | dwmalone <dwmalone@FreeBSD.org> | 2004-07-12 21:42:33 +0000 |
commit | 6ff1185c1dcb3500ceef5f5cd01d8ecafa452497 (patch) | |
tree | 9b6357905610b6818e05d68a637f3df1dd330b65 /sys/kern | |
parent | 1176e2e3a51626f4ee7627adfbab7a93f3b09328 (diff) | |
download | FreeBSD-src-6ff1185c1dcb3500ceef5f5cd01d8ecafa452497.zip FreeBSD-src-6ff1185c1dcb3500ceef5f5cd01d8ecafa452497.tar.gz |
Rename Alfred's kern_setsockopt to so_setsockopt, as this seems a
a better name. I have a kern_[sg]etsockopt which I plan to commit
shortly, but the arguments to these function will be quite different
from so_setsockopt.
Approved by: alfred
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/uipc_socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/uipc_socket.c b/sys/kern/uipc_socket.c index 6787573..4d58bbc 100644 --- a/sys/kern/uipc_socket.c +++ b/sys/kern/uipc_socket.c @@ -1546,7 +1546,7 @@ sooptcopyin(sopt, buf, len, minlen) * XXX: optlen is size_t, not socklen_t */ int -kern_setsockopt(struct socket *so, int level, int optname, void *optval, +so_setsockopt(struct socket *so, int level, int optname, void *optval, size_t optlen) { struct sockopt sopt; |