summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}