summaryrefslogtreecommitdiffstats
path: root/sys/svr4
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1999-11-24 20:49:04 +0000
committerphk <phk@FreeBSD.org>1999-11-24 20:49:04 +0000
commit2431275ac48499acc89eff888d82d8352f3e175b (patch)
tree9741348ce9009f507154400790269a083a41affd /sys/svr4
parente0cf3d9b909ef7c0f8e421deaace71ad77f4a655 (diff)
downloadFreeBSD-src-2431275ac48499acc89eff888d82d8352f3e175b.zip
FreeBSD-src-2431275ac48499acc89eff888d82d8352f3e175b.tar.gz
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
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 fbe6eeb..5399041 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)
OpenPOWER on IntegriCloud