diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2014-07-02 07:16:30 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2014-07-02 07:16:30 +0000 |
commit | 3114e589ef760a316421637c47d0436efc90370e (patch) | |
tree | 7b63067100afe944297198e785e4adb917da5754 /usr.bin | |
parent | f529e6e07175c511a2aa59e0ea54f7cda4e5d6c6 (diff) |
populate pool npages, as per src/sys/kern/subr_pool.c r1.135
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/vmstat/vmstat.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/vmstat/vmstat.c b/usr.bin/vmstat/vmstat.c index d72aae4b373..d86567a7f3d 100644 --- a/usr.bin/vmstat/vmstat.c +++ b/usr.bin/vmstat/vmstat.c @@ -1,5 +1,5 @@ /* $NetBSD: vmstat.c,v 1.29.4.1 1996/06/05 00:21:05 cgd Exp $ */ -/* $OpenBSD: vmstat.c,v 1.129 2014/07/02 00:12:34 dlg Exp $ */ +/* $OpenBSD: vmstat.c,v 1.130 2014/07/02 07:16:29 dlg Exp $ */ /* * Copyright (c) 1980, 1986, 1991, 1993 @@ -1055,6 +1055,7 @@ dopool_kvm(void) pi.pr_size = pp->pr_size; pi.pr_pgsize = palloc.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; |