diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 1999-11-24 20:49:04 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1999-11-24 20:49:04 +0000 |
commit | 9b962c56a47dfb8086850aab1336f72fc38684a1 (patch) | |
tree | 65494a116459421d7a5750fb4bae370b8bb5de06 /sys/compat/svr4/svr4_stream.c | |
parent | a27816e5a5330fef1e562d7e659575244450c6ce (diff) | |
download | src-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/compat/svr4/svr4_stream.c')
-rw-r--r-- | sys/compat/svr4/svr4_stream.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/svr4/svr4_stream.c b/sys/compat/svr4/svr4_stream.c index fbe6eebe747b..5399041a4fa4 100644 --- a/sys/compat/svr4/svr4_stream.c +++ b/sys/compat/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) |