diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-11-13 18:35:43 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-11-13 18:35:43 +0000 |
commit | 794ce5f22b8dbaa4f1e0221b157364f627e07ee3 (patch) | |
tree | 3328e09bc02cd1cd3105e167c327ab4369faf3c6 /sys/compat/linux/linux_misc.c | |
parent | bfef69f9f788020aeb2db77d2e73fe7205322d54 (diff) |
make msync() have 3 args
Diffstat (limited to 'sys/compat/linux/linux_misc.c')
-rw-r--r-- | sys/compat/linux/linux_misc.c | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/sys/compat/linux/linux_misc.c b/sys/compat/linux/linux_misc.c index bace5aa9cd3..83bae49e180 100644 --- a/sys/compat/linux/linux_misc.c +++ b/sys/compat/linux/linux_misc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: linux_misc.c,v 1.11 1997/11/13 06:37:49 deraadt Exp $ */ +/* $OpenBSD: linux_misc.c,v 1.12 1997/11/13 18:35:26 deraadt Exp $ */ /* $NetBSD: linux_misc.c,v 1.27 1996/05/20 01:59:21 fvdl Exp $ */ /* @@ -529,27 +529,6 @@ linux_sys_mremap(p, v, retval) return (ENOMEM); } -int -linux_sys_msync(p, v, retval) - struct proc *p; - void *v; - register_t *retval; -{ - struct linux_sys_msync_args /* { - syscallarg(caddr_t) addr; - syscallarg(int) len; - syscallarg(int) fl; - } */ *uap = v; - - struct sys_msync_args bma; - - /* flags are ignored */ - SCARG(&bma, addr) = SCARG(uap, addr); - SCARG(&bma, len) = SCARG(uap, len); - - return sys_msync(p, &bma, retval); -} - /* * This code is partly stolen from src/lib/libc/compat-43/times.c * XXX - CLK_TCK isn't declared in /sys, just in <time.h>, done here |