From 17e41087c2f9d644e66ae1c2ce6e7b4ddf2e8ec8 Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Thu, 27 Apr 2006 08:03:56 +0000 Subject: [PATCH] Fix LINT build. kern_readv() and kern_writev() were renamed to kern_preadv() and kern_pwritev(). --- sys/emulation/linux/linux_file.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/emulation/linux/linux_file.c b/sys/emulation/linux/linux_file.c index 4e0a51061d..5c9e90a48a 100644 --- a/sys/emulation/linux/linux_file.c +++ b/sys/emulation/linux/linux_file.c @@ -26,7 +26,7 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * * $FreeBSD: src/sys/compat/linux/linux_file.c,v 1.41.2.6 2003/01/06 09:19:43 fjoe Exp $ - * $DragonFly: src/sys/emulation/linux/linux_file.c,v 1.25 2006/04/26 17:42:52 dillon Exp $ + * $DragonFly: src/sys/emulation/linux/linux_file.c,v 1.26 2006/04/27 08:03:56 swildner Exp $ */ #include "opt_compat.h" @@ -820,7 +820,7 @@ linux_pread(struct linux_pread_args *uap) if (auio.uio_resid < 0) error = EINVAL; else - error = kern_readv(uap->fd, &auio, FOF_OFFSET, &uap->sysmsg_result); + error = kern_preadv(uap->fd, &auio, FOF_OFFSET, &uap->sysmsg_result); return(error); } @@ -845,7 +845,7 @@ linux_pwrite(struct linux_pwrite_args *uap) if (auio.uio_resid < 0) error = EINVAL; else - error = kern_writev(uap->fd, &auio, FOF_OFFSET, &uap->sysmsg_result); + error = kern_pwritev(uap->fd, &auio, FOF_OFFSET, &uap->sysmsg_result); return(error); } -- 2.41.0