diff options
| author | christos <christos@NetBSD.org> | 2018-05-05 02:09:40 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2018-05-05 02:09:40 +0000 |
| commit | af39daaa5028ee2ed37349190819af3c8a6eb248 (patch) | |
| tree | 3f8c389063e516554ad15731097113b3ac723723 /sys/compat | |
| parent | 58b21fb6b7a2962d6c5b2605d246c983b2e93429 (diff) | |
finish ktrace argument removal for do_sys_{send,recv}msg
Diffstat (limited to 'sys/compat')
| -rw-r--r-- | sys/compat/osf1/osf1_socket.c | 7 | ||||
| -rw-r--r-- | sys/compat/svr4/svr4_stream.c | 8 |
2 files changed, 7 insertions, 8 deletions
diff --git a/sys/compat/osf1/osf1_socket.c b/sys/compat/osf1/osf1_socket.c index 9664e3dca0b..0d27138398a 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 <sys/cdefs.h> -__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 <sys/param.h> #include <sys/systm.h> @@ -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 aac66580052..f9c3de3d89e 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 <sys/cdefs.h> -__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 <sys/param.h> #include <sys/kernel.h> @@ -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) { |
