From 167a62205a9a04ce979c0f25a7c28c8a29b3a25b Mon Sep 17 00:00:00 2001 From: he Date: Thu, 11 Oct 2007 13:51:12 +0000 Subject: [PATCH] Follow up the removal of the lwp_t* argument to do_filereadv() and do_filewritev(). --- sys/compat/osf1/osf1_generic.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/compat/osf1/osf1_generic.c b/sys/compat/osf1/osf1_generic.c index 5d44ac7b6701..4e70f98c197e 100644 --- a/sys/compat/osf1/osf1_generic.c +++ b/sys/compat/osf1/osf1_generic.c @@ -1,4 +1,4 @@ -/* $NetBSD: osf1_generic.c,v 1.11 2007/06/17 19:50:01 dsl Exp $ */ +/* $NetBSD: osf1_generic.c,v 1.12 2007/10/11 13:51:12 he Exp $ */ /* * Copyright (c) 1999 Christopher G. Demetriou. All rights reserved. @@ -58,7 +58,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: osf1_generic.c,v 1.11 2007/06/17 19:50:01 dsl Exp $"); +__KERNEL_RCSID(0, "$NetBSD: osf1_generic.c,v 1.12 2007/10/11 13:51:12 he Exp $"); #include #include @@ -128,7 +128,7 @@ osf1_sys_readv(struct lwp *l, void *v, register_t *retval) error = osf1_get_iov(SCARG(uap, iovp), SCARG(uap, iovcnt), &niov); if (error == 0) { - error = do_filereadv(l, SCARG(uap, fd), niov, + error = do_filereadv(SCARG(uap, fd), niov, SCARG(uap, iovcnt), NULL, FOF_UPDATE_OFFSET | FOF_IOV_SYSSPACE, retval); } @@ -149,7 +149,7 @@ osf1_sys_writev(struct lwp *l, void *v, register_t *retval) error = osf1_get_iov(SCARG(uap, iovp), SCARG(uap, iovcnt), &niov); if (error == 0) { - error = do_filewritev(l, SCARG(uap, fd), niov, + error = do_filewritev(SCARG(uap, fd), niov, SCARG(uap, iovcnt), NULL, FOF_UPDATE_OFFSET | FOF_IOV_SYSSPACE, retval); }