aboutsummaryrefslogtreecommitdiff
path: root/lib/libmemstat
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2005-08-15 10:24:20 +0000
committerRobert Watson <rwatson@FreeBSD.org>2005-08-15 10:24:20 +0000
commit33f23dc2fb7cad25edd0826bbb49b134fbf132ce (patch)
treeca5b4b458b19063e4e2bd46fd54fbaedce00babd /lib/libmemstat
parent27fa5ded621962c01ddddfb22a631806e1af1357 (diff)
Notes
Diffstat (limited to 'lib/libmemstat')
-rw-r--r--lib/libmemstat/libmemstat.38
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libmemstat/libmemstat.3 b/lib/libmemstat/libmemstat.3
index c93d56d01c53..70066035a6ba 100644
--- a/lib/libmemstat/libmemstat.3
+++ b/lib/libmemstat/libmemstat.3
@@ -436,7 +436,7 @@ Create a memory type list, query the
.Xr uma 9
memory allocator for available statistics, and print out the number of
allocations performed by the
-.Dv Mbuf
+.Dv mbuf
zone.
.Bd -literal -offset indent
struct memory_type_list *mtlp;
@@ -448,13 +448,13 @@ if (mtlp == NULL)
err(-1, "memstat_mtl_alloc");
if (memstat_sysctl_uma(mtlp, 0) < 0)
err(-1, "memstat_sysctl_uma");
-mtp = memstat_mtl_find(mtlp, ALLOCATOR_UMA, "Mbuf");
+mtp = memstat_mtl_find(mtlp, ALLOCATOR_UMA, "mbuf");
if (mtp == NULL)
- errx(-1, "memstat_mtl_find: Mbuf not found");
+ errx(-1, "memstat_mtl_find: mbuf not found");
mbuf_count = memstat_get_count(mtp);
memstat_mtl_free(mtlp);
-printf("Mbufs: %llu\\n", (unsigned long long)mbuf_count);
+printf("mbufs: %llu\\n", (unsigned long long)mbuf_count);
.Ed
.Sh SEE ALSO
.Xr malloc 9 ,