diff options
Diffstat (limited to 'sys/compat/linux/linux_file.c')
| -rw-r--r-- | sys/compat/linux/linux_file.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/compat/linux/linux_file.c b/sys/compat/linux/linux_file.c index ac982ea3b6c..5836a22bd6b 100644 --- a/sys/compat/linux/linux_file.c +++ b/sys/compat/linux/linux_file.c @@ -1,4 +1,4 @@ -/* $OpenBSD: linux_file.c,v 1.21 2002/03/14 01:26:50 millert Exp $ */ +/* $OpenBSD: linux_file.c,v 1.22 2003/08/13 04:01:37 tedu Exp $ */ /* $NetBSD: linux_file.c,v 1.15 1996/05/20 01:59:09 fvdl Exp $ */ /* @@ -874,9 +874,6 @@ linux_sys_pread(p, v, retval) syscallarg(linux_off_t) offset; } */ *uap = v; struct sys_pread_args pra; - caddr_t sg; - - sg = stackgap_init(p->p_emul); SCARG(&pra, fd) = SCARG(uap, fd); SCARG(&pra, buf) = SCARG(uap, buf); @@ -902,9 +899,6 @@ linux_sys_pwrite(p, v, retval) syscallarg(linux_off_t) offset; } */ *uap = v; struct sys_pwrite_args pra; - caddr_t sg; - - sg = stackgap_init(p->p_emul); SCARG(&pra, fd) = SCARG(uap, fd); SCARG(&pra, buf) = SCARG(uap, buf); |
