diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 1999-02-26 04:09:48 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 1999-02-26 04:09:48 +0000 |
commit | 9bfdcdfaecab568d20a4e12cf2875aeda99a2576 (patch) | |
tree | 567de5db8cdc3dd6a65afe2bdd131d26211792d4 /sys | |
parent | d47112611189efa6de65f87af6231425a2ff0985 (diff) |
vm_sysctl -> uvm_sysctl for uvm
Diffstat (limited to 'sys')
-rw-r--r-- | sys/compat/common/kern_info_43.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/compat/common/kern_info_43.c b/sys/compat/common/kern_info_43.c index e54026eddda..dae4b926ebf 100644 --- a/sys/compat/common/kern_info_43.c +++ b/sys/compat/common/kern_info_43.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_info_43.c,v 1.8 1998/02/22 22:00:11 niklas Exp $ */ +/* $OpenBSD: kern_info_43.c,v 1.9 1999/02/26 04:09:47 art Exp $ */ /* $NetBSD: kern_info_43.c,v 1.5 1996/02/04 02:02:22 christos Exp $ */ /* @@ -246,13 +246,21 @@ compat_43_sys_getkerninfo(p, v, retval) case KINFO_METER: name[0] = VM_METER; error = +#if defined(UVM) + uvm_sysctl(name, 1, SCARG(uap, where), &size, NULL, 0, p); +#else vm_sysctl(name, 1, SCARG(uap, where), &size, NULL, 0, p); +#endif break; case KINFO_LOADAVG: name[0] = VM_LOADAVG; error = +#if defined(UVM) + uvm_sysctl(name, 1, SCARG(uap, where), &size, NULL, 0, p); +#else vm_sysctl(name, 1, SCARG(uap, where), &size, NULL, 0, p); +#endif break; case KINFO_CLOCKRATE: |