aboutsummaryrefslogtreecommitdiff
path: root/sys/svr4
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/svr4
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/svr4')
-rw-r--r--sys/svr4/svr4_stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/svr4/svr4_stream.c b/sys/svr4/svr4_stream.c
index fbe6eebe747b..5399041a4fa4 100644
--- a/sys/svr4/svr4_stream.c
+++ b/sys/svr4/svr4_stream.c
@@ -340,7 +340,7 @@ svr4_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)