aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/uipc_syscalls.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1999-11-24 20:49:04 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1999-11-24 20:49:04 +0000
commit9b962c56a47dfb8086850aab1336f72fc38684a1 (patch)
tree65494a116459421d7a5750fb4bae370b8bb5de06 /sys/kern/uipc_syscalls.c
parenta27816e5a5330fef1e562d7e659575244450c6ce (diff)
downloadsrc-9b962c56a47dfb8086850aab1336f72fc38684a1.tar.gz
src-9b962c56a47dfb8086850aab1336f72fc38684a1.zip
General clean-up of socket.h and associated sources to synchronise up
with NetBSD and the Single Unix Specification v2. This updates some structures with other, almost equivalent types and effort is under way to get the whole more consistent. Also removes a double definition of INET6 and some other clean-ups. Reviewed by: green, bde, phk Some part obtained from: NetBSD, SUSv2 specification
Notes
Notes: svn path=/head/; revision=53678
Diffstat (limited to 'sys/kern/uipc_syscalls.c')
-rw-r--r--sys/kern/uipc_syscalls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/uipc_syscalls.c b/sys/kern/uipc_syscalls.c
index cb21ac6f6282..af24c03df2f1 100644
--- a/sys/kern/uipc_syscalls.c
+++ b/sys/kern/uipc_syscalls.c
@@ -805,7 +805,7 @@ recvit(p, s, mp, namelenp)
len -= tocopy;
m = m->m_next;
}
- mp->msg_controllen = ctlbuf - mp->msg_control;
+ mp->msg_controllen = ctlbuf - (caddr_t)mp->msg_control;
}
out:
if (fromsa)