diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-12-04 14:57:28 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-12-04 14:57:28 +0000 |
commit | 13804576e2b53df785868253859bc3dc3c45fcb8 (patch) | |
tree | 1f9080a5ff1dbdffcf8b229b77f45699652e02b5 | |
parent | 71194c09b64481e4ac4bbe2ad5293cd6ddcbd980 (diff) |
Support for the new uvm sysctls.
-rw-r--r-- | sbin/sysctl/sysctl.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sbin/sysctl/sysctl.c b/sbin/sysctl/sysctl.c index dac6ba64134..bda459b89ff 100644 --- a/sbin/sysctl/sysctl.c +++ b/sbin/sysctl/sysctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sysctl.c,v 1.77 2001/11/05 23:15:25 art Exp $ */ +/* $OpenBSD: sysctl.c,v 1.78 2001/12/04 14:57:27 art Exp $ */ /* $NetBSD: sysctl.c,v 1.9 1995/09/30 07:12:50 thorpej Exp $ */ /* @@ -44,7 +44,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)sysctl.c 8.5 (Berkeley) 5/9/95"; #else -static char *rcsid = "$OpenBSD: sysctl.c,v 1.77 2001/11/05 23:15:25 art Exp $"; +static char *rcsid = "$OpenBSD: sysctl.c,v 1.78 2001/12/04 14:57:27 art Exp $"; #endif #endif /* not lint */ @@ -455,7 +455,10 @@ parse(string, flags) return; break; - } else if (mib[1] == VM_NKMEMPAGES) { + } else if (mib[1] == VM_NKMEMPAGES || + mib[1] == VM_ANONMIN || + mib[1] == VM_VTEXTMIN || + mib[1] == VM_VNODEMIN) { break; } if (flags == 0) |