diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2014-07-02 07:15:32 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2014-07-02 07:15:32 +0000 |
commit | f529e6e07175c511a2aa59e0ea54f7cda4e5d6c6 (patch) | |
tree | 7eaa251877be3b44b7a57a24c19ae203506b8c90 /sys | |
parent | a537898c28d9ba2442539618913be5d26226acc7 (diff) |
matthew@ noticed i wasnt populating npages in the kinfo_pool sent to
userland.
Diffstat (limited to 'sys')
-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 026b1e77857..f57e8cdcddf 100644 --- a/sys/kern/subr_pool.c +++ b/sys/kern/subr_pool.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr_pool.c,v 1.134 2014/07/02 06:02:48 dlg Exp $ */ +/* $OpenBSD: subr_pool.c,v 1.135 2014/07/02 07:15:31 dlg Exp $ */ /* $NetBSD: subr_pool.c,v 1.61 2001/09/26 07:14:56 chs Exp $ */ /*- @@ -1475,6 +1475,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; |