diff options
author | bmilekic <bmilekic@FreeBSD.org> | 2001-08-03 05:05:32 +0000 |
---|---|---|
committer | bmilekic <bmilekic@FreeBSD.org> | 2001-08-03 05:05:32 +0000 |
commit | 4dfee5e935f7e902daa509e671c878346ba8b53f (patch) | |
tree | 4065fab208699392b4caf79971f5b341afc6688f /sys/kern/kern_malloc.c | |
parent | 258022abac2dafc927de0217edc422372b5a364b (diff) | |
download | FreeBSD-src-4dfee5e935f7e902daa509e671c878346ba8b53f.zip FreeBSD-src-4dfee5e935f7e902daa509e671c878346ba8b53f.tar.gz |
Rename mb_init() mbuf subsystem initialization routine to mbuf_init(), in
order to avoid namespace collision with subr_mchain.c's mb_init(). This
wasn't "fatal" as the mbuf initialization routine mb_init() was local to
subr_mbuf.c which in turn didn't pull in subr_mchain.c's mb_init()
declaration, but it should deffinately be changed now before it creates
headache.
Diffstat (limited to 'sys/kern/kern_malloc.c')
-rw-r--r-- | sys/kern/kern_malloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_malloc.c b/sys/kern/kern_malloc.c index e57f250..dcabed0 100644 --- a/sys/kern/kern_malloc.c +++ b/sys/kern/kern_malloc.c @@ -470,7 +470,7 @@ kmeminit(dummy) vm_kmem_size = 2 * cnt.v_page_count * PAGE_SIZE; /* - * In mb_init(), we set up submaps for mbufs and clusters, in which + * In mbuf_init(), we set up submaps for mbufs and clusters, in which * case we rounddown() (nmbufs * MSIZE) and (nmbclusters * MCLBYTES), * respectively. Mathematically, this means that what we do here may * amount to slightly more address space than we need for the submaps, |