diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-02-10 08:05:22 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-02-10 08:05:22 +0000 |
commit | 46635a71c2421fe5bc67f03ee208a6a43ff7ea17 (patch) | |
tree | eea81eb36c3e3568bf49645f46b97719a1395879 /sys/compat/freebsd/freebsd_misc.c | |
parent | 05534d6c40cbe93cf6f40a3990d45b0ef7cb7488 (diff) |
freebsd madvise() clone, always returns 0 for now
Diffstat (limited to 'sys/compat/freebsd/freebsd_misc.c')
-rw-r--r-- | sys/compat/freebsd/freebsd_misc.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/sys/compat/freebsd/freebsd_misc.c b/sys/compat/freebsd/freebsd_misc.c index fbf4c0d9414..6b2452d80dc 100644 --- a/sys/compat/freebsd/freebsd_misc.c +++ b/sys/compat/freebsd/freebsd_misc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: freebsd_misc.c,v 1.5 1997/11/13 18:35:24 deraadt Exp $ */ +/* $OpenBSD: freebsd_misc.c,v 1.6 1999/02/10 08:05:21 deraadt Exp $ */ /* $NetBSD: freebsd_misc.c,v 1.2 1996/05/03 17:03:10 christos Exp $ */ /* @@ -95,3 +95,15 @@ freebsd_sys_poll2(p, v, retval) { return (sys_poll(p, v, retval)); } + +/* + * Our madvise is currently dead (always returns EOPNOTSUPP). + */ +int +freebsd_sys_madvise(p, v, retval) + struct proc *p; + void *v; + register_t *retval; +{ + return (0); +} |