summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2014-11-06 12:50:56 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2014-11-06 12:50:56 +0000
commitd681047c4436db8603c911ef556a7962e8b61198 (patch)
treecd7eab6004aea096e3df469cc6ab69684c3fed1c /usr.bin
parent38a55be942a2376d87361f7612fcbae33a4017b1 (diff)
i renamed the mbuf pool.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/netstat/mbuf.c4
-rw-r--r--usr.bin/systat/mbufs.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/netstat/mbuf.c b/usr.bin/netstat/mbuf.c
index 5b99563df09..38e784fb80b 100644
--- a/usr.bin/netstat/mbuf.c
+++ b/usr.bin/netstat/mbuf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mbuf.c,v 1.32 2014/07/02 00:12:34 dlg Exp $ */
+/* $OpenBSD: mbuf.c,v 1.33 2014/11/06 12:50:55 dlg Exp $ */
/* $NetBSD: mbuf.c,v 1.9 1996/05/07 02:55:03 thorpej Exp $ */
/*
@@ -139,7 +139,7 @@ mbpr(void)
return;
}
- if (!strncmp(name, "mbpl", strlen("mbpl")))
+ if (!strncmp(name, "mbufpl", strlen("mbufpl")))
bcopy(&pool, &mbpool, sizeof(pool));
else if (mclp < sizeof(mclpools) / sizeof(mclpools[0]) &&
!strncmp(name, *mclnamep, strlen(*mclnamep))) {
diff --git a/usr.bin/systat/mbufs.c b/usr.bin/systat/mbufs.c
index 56f1cd6b1fc..158d5ed91d1 100644
--- a/usr.bin/systat/mbufs.c
+++ b/usr.bin/systat/mbufs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mbufs.c,v 1.36 2014/10/20 07:06:00 jsg Exp $ */
+/* $OpenBSD: mbufs.c,v 1.37 2014/11/06 12:50:55 dlg Exp $ */
/*
* Copyright (c) 2008 Can Erkin Acar <canacar@openbsd.org>
*
@@ -151,7 +151,7 @@ initmembufs(void)
continue;
}
- if (strcmp(pname, "mbpl") == 0) {
+ if (strcmp(pname, "mbufpl") == 0) {
mbpool_index = i;
continue;
}