diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2014-08-12 01:05:47 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2014-08-12 01:05:47 +0000 |
commit | 828dc4560bed23d79424c3c305a17aea60302ace (patch) | |
tree | 6cfbbf278b1ed0ec09ff9a0e0261e91f16299f68 | |
parent | 3564bd1902a95430645f6b72559f7035c841ff4c (diff) |
bring back r1.135:
matthew@ noticed i wasnt populating npages in the kinfo_pool sent to
userland.
-rw-r--r-- | sys/kern/subr_pool.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/subr_pool.c b/sys/kern/subr_pool.c index 72ece2edb3d..850d0f0b94e 100644 --- a/sys/kern/subr_pool.c +++ b/sys/kern/subr_pool.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr_pool.c,v 1.142 2014/08/12 01:01:11 dlg Exp $ */ +/* $OpenBSD: subr_pool.c,v 1.143 2014/08/12 01:05:46 dlg Exp $ */ /* $NetBSD: subr_pool.c,v 1.61 2001/09/26 07:14:56 chs Exp $ */ /*- @@ -1464,6 +1464,7 @@ sysctl_dopool(int *name, u_int namelen, char *oldp, size_t *oldlenp) pi.pr_size = pp->pr_size; pi.pr_pgsize = pp->pr_alloc->pa_pagesz; pi.pr_itemsperpage = pp->pr_itemsperpage; + pi.pr_npages = pp->pr_npages; pi.pr_minpages = pp->pr_minpages; pi.pr_maxpages = pp->pr_maxpages; pi.pr_hardlimit = pp->pr_hardlimit; |