From dd0758a46aeb166aed14d8fb2ec09b382e5cca6f Mon Sep 17 00:00:00 2001 From: thorpej Date: Wed, 1 Jul 1998 01:23:25 +0000 Subject: [PATCH] Oops, fix a couple of brain-o's. --- sys/compat/svr4/svr4_fcntl.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/sys/compat/svr4/svr4_fcntl.c b/sys/compat/svr4/svr4_fcntl.c index 681fefba35e8..40dda493e9a8 100644 --- a/sys/compat/svr4/svr4_fcntl.c +++ b/sys/compat/svr4/svr4_fcntl.c @@ -1,4 +1,4 @@ -/* $NetBSD: svr4_fcntl.c,v 1.25 1998/06/30 23:34:05 thorpej Exp $ */ +/* $NetBSD: svr4_fcntl.c,v 1.26 1998/07/01 01:23:25 thorpej Exp $ */ /* * Copyright (c) 1994, 1997 Christos Zoulas. All rights reserved. @@ -474,10 +474,10 @@ svr4_sys_pread(p, v, retval) * Just translate the args structure and call the NetBSD * pread(2) system call (offset type is 64-bit in NetBSD). */ - SCARG(pra, fd) = SCARG(uap, fd); - SCARG(pra, buf) = SCARG(uap, buf); - SCARG(pra, nbyte) = SCARG(uap, nbyte); - SCARG(pra, offset) = SCARG(uap, offset); + SCARG(&pra, fd) = SCARG(uap, fd); + SCARG(&pra, buf) = SCARG(uap, buf); + SCARG(&pra, nbyte) = SCARG(uap, nbyte); + SCARG(&pra, offset) = SCARG(uap, off); return (sys_pread(p, &pra, retval)); } @@ -511,10 +511,10 @@ svr4_sys_pwrite(p, v, retval) * Just translate the args structure and call the NetBSD * pwrite(2) system call (offset type is 64-bit in NetBSD). */ - SCARG(pwa, fd) = SCARG(uap, fd); - SCARG(pwa, buf) = SCARG(uap, buf); - SCARG(pwa, nbyte) = SCARG(uap, nbyte); - SCARG(pwa, offset) = SCARG(uap, offset); + SCARG(&pwa, fd) = SCARG(uap, fd); + SCARG(&pwa, buf) = SCARG(uap, buf); + SCARG(&pwa, nbyte) = SCARG(uap, nbyte); + SCARG(&pwa, offset) = SCARG(uap, off); return (sys_pwrite(p, &pwa, retval)); }