diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2001-06-03 04:41:34 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2001-06-03 04:41:34 +0000 |
commit | 18df2f389f3fd8aaa8addfef08c2bd8b79c4cb44 (patch) | |
tree | 93302cc04afdd305fbf78083b6056276e800d5d7 /sys | |
parent | cc7cfa86f4dbe2050bcded1ddddcaa6359b8d73e (diff) |
Export nprocs.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/kern_sysctl.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/kern/kern_sysctl.c b/sys/kern/kern_sysctl.c index 5d503950d22..1ff25306a69 100644 --- a/sys/kern/kern_sysctl.c +++ b/sys/kern/kern_sysctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_sysctl.c,v 1.47 2001/06/03 03:53:57 angelos Exp $ */ +/* $OpenBSD: kern_sysctl.c,v 1.48 2001/06/03 04:41:33 angelos Exp $ */ /* $NetBSD: kern_sysctl.c,v 1.17 1996/05/20 17:49:05 mrg Exp $ */ /*- @@ -404,6 +404,8 @@ kern_sysctl(name, namelen, oldp, oldlenp, newp, newlen, p) return (sysctl_rdint(oldp, oldlenp, newp, fscale)); case KERN_CCPU: return (sysctl_rdint(oldp, oldlenp, newp, ccpu)); + case KERN_NPROCS: + return (sysctl_rdint(oldp, oldlenp, newp, nprocs)); default: return (EOPNOTSUPP); } |