diff --git a/sys/compat/osf1/osf1_socket.c b/sys/compat/osf1/osf1_socket.c index 9664e3dca0b7..0d27138398a9 100644 --- a/sys/compat/osf1/osf1_socket.c +++ b/sys/compat/osf1/osf1_socket.c @@ -1,4 +1,4 @@ -/* $NetBSD: osf1_socket.c,v 1.22 2016/09/13 07:01:08 martin Exp $ */ +/* $NetBSD: osf1_socket.c,v 1.23 2018/05/05 02:09:40 christos Exp $ */ /* * Copyright (c) 1999 Christopher G. Demetriou. All rights reserved. @@ -58,7 +58,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: osf1_socket.c,v 1.22 2016/09/13 07:01:08 martin Exp $"); +__KERNEL_RCSID(0, "$NetBSD: osf1_socket.c,v 1.23 2018/05/05 02:09:40 christos Exp $"); #include #include @@ -130,8 +130,7 @@ osf1_sys_sendmsg_xopen(struct lwp *l, const struct osf1_sys_sendmsg_xopen_args * bsd_iovec[i].iov_len = osf_iovec.iov_len; } - error = do_sys_sendmsg(l, SCARG(uap, s), &bsd_msghdr, flags, NULL, 0, - retval); + error = do_sys_sendmsg(l, SCARG(uap, s), &bsd_msghdr, flags, retval); err: kmem_free(bsd_iovec, iov_len * sizeof(struct iovec)); return error; diff --git a/sys/compat/svr4/svr4_stream.c b/sys/compat/svr4/svr4_stream.c index aac665800528..f9c3de3d89e5 100644 --- a/sys/compat/svr4/svr4_stream.c +++ b/sys/compat/svr4/svr4_stream.c @@ -1,4 +1,4 @@ -/* $NetBSD: svr4_stream.c,v 1.92 2017/09/16 09:05:29 martin Exp $ */ +/* $NetBSD: svr4_stream.c,v 1.93 2018/05/05 02:09:40 christos Exp $ */ /*- * Copyright (c) 1994, 2008 The NetBSD Foundation, Inc. @@ -39,7 +39,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: svr4_stream.c,v 1.92 2017/09/16 09:05:29 martin Exp $"); +__KERNEL_RCSID(0, "$NetBSD: svr4_stream.c,v 1.93 2018/05/05 02:09:40 christos Exp $"); #include #include @@ -1540,7 +1540,7 @@ svr4_sys_putmsg(struct lwp *l, const struct svr4_sys_putmsg_args *uap, register_ aiov.iov_base = NETBSD32PTR(dat.buf); aiov.iov_len = dat.len; error = do_sys_sendmsg(l, SCARG(uap, fd), &msg, - SCARG(uap, flags), NULL, 0, retval); + SCARG(uap, flags), retval); *retval = 0; return error; @@ -1781,7 +1781,7 @@ svr4_sys_getmsg(struct lwp *l, const struct svr4_sys_getmsg_args *uap, register_ aiov.iov_len = dat.maxlen; msg.msg_flags = 0; - error = do_sys_recvmsg(l, SCARG(uap, fd), &msg, NULL, 0, + error = do_sys_recvmsg(l, SCARG(uap, fd), &msg, &name, NULL, retval); if (error) {