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/sunos/sunos_misc.c | |
parent | bfef69f9f788020aeb2db77d2e73fe7205322d54 (diff) |
make msync() have 3 args
Diffstat (limited to 'sys/compat/sunos/sunos_misc.c')
-rw-r--r-- | sys/compat/sunos/sunos_misc.c | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/sys/compat/sunos/sunos_misc.c b/sys/compat/sunos/sunos_misc.c index b092f7e5781..fabf8a01055 100644 --- a/sys/compat/sunos/sunos_misc.c +++ b/sys/compat/sunos/sunos_misc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sunos_misc.c,v 1.15 1997/11/06 22:15:51 millert Exp $ */ +/* $OpenBSD: sunos_misc.c,v 1.16 1997/11/13 18:35:28 deraadt Exp $ */ /* $NetBSD: sunos_misc.c,v 1.65 1996/04/22 01:44:31 christos Exp $ */ /* @@ -220,23 +220,6 @@ sunos_sys_execv(p, v, retval) } int -sunos_sys_omsync(p, v, retval) - struct proc *p; - void *v; - register_t *retval; -{ - struct sunos_sys_omsync_args *uap = v; - struct sys_msync_args ouap; - - if (SCARG(uap, flags)) - return (EINVAL); - SCARG(&ouap, addr) = SCARG(uap, addr); - SCARG(&ouap, len) = SCARG(uap, len); - - return (sys_msync(p, &ouap, retval)); -} - -int sunos_sys_unmount(p, v, retval) struct proc *p; void *v; |