diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2002-06-24 17:51:06 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2002-06-24 17:51:06 +0000 |
commit | 8ddbd5a0bef1497c02ebc98fce2b661ed51124bd (patch) | |
tree | a684dd60100d2b79f70d4d85b384b41f8c69007f /usr.bin/netstat/mbuf.c | |
parent | b4d05c7989ac2b4106dd5ea66aebf5070dd1c8c6 (diff) |
KERN_POOL_POOL, not KERN_POOL_NPOOLS --- I wonder how this was not
observed. From dfa@solo.ee and dsb@nt.pin.dvgu.ru
Diffstat (limited to 'usr.bin/netstat/mbuf.c')
-rw-r--r-- | usr.bin/netstat/mbuf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/netstat/mbuf.c b/usr.bin/netstat/mbuf.c index 1257dbb622c..53e73938834 100644 --- a/usr.bin/netstat/mbuf.c +++ b/usr.bin/netstat/mbuf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mbuf.c,v 1.14 2002/06/18 23:49:15 deraadt Exp $ */ +/* $OpenBSD: mbuf.c,v 1.15 2002/06/24 17:51:05 angelos Exp $ */ /* $NetBSD: mbuf.c,v 1.9 1996/05/07 02:55:03 thorpej Exp $ */ /* @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "from: @(#)mbuf.c 8.1 (Berkeley) 6/6/93"; #else -static char *rcsid = "$OpenBSD: mbuf.c,v 1.14 2002/06/18 23:49:15 deraadt Exp $"; +static char *rcsid = "$OpenBSD: mbuf.c,v 1.15 2002/06/24 17:51:05 angelos Exp $"; #endif #endif /* not lint */ @@ -120,7 +120,7 @@ mbpr(mbaddr, mbpooladdr, mclpooladdr) } else { mib[0] = CTL_KERN; mib[1] = KERN_POOL; - mib[2] = KERN_POOL_POOL; + mib[2] = KERN_POOL_NPOOLS; size = sizeof(npools); if (sysctl(mib, 3, &npools, &size, NULL, 0) < 0) { |