From 0a258c19b123cbad7749294c028f6cc8b04dac67 Mon Sep 17 00:00:00 2001 From: Maxim Konovalov Date: Tue, 18 May 2004 14:13:23 +0000 Subject: o Fix comments: s/m_tag_allocate/m_tag_alloc/. Spotted by: Gleb Smirnoff MFC after: 1 week --- sys/sys/mbuf.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/sys/mbuf.h b/sys/sys/mbuf.h index 1ca9dbf82cf8b..31dc6b7e9a32b 100644 --- a/sys/sys/mbuf.h +++ b/sys/sys/mbuf.h @@ -493,11 +493,11 @@ struct mbuf * * a private cookie value so that packet tag-related definitions * can be maintained privately. * - * Note that the packet tag returned by m_tag_allocate has the default + * Note that the packet tag returned by m_tag_alloc has the default * memory alignment implemented by malloc. To reference private data * one can use a construct like: * - * struct m_tag *mtag = m_tag_allocate(...); + * struct m_tag *mtag = m_tag_alloc(...); * struct foo *p = (struct foo *)(mtag+1); * * if the alignment of struct m_tag is sufficient for referencing members @@ -508,7 +508,7 @@ struct mbuf * * struct m_tag tag; * ... * }; - * struct foo *p = (struct foo *) m_tag_allocate(...); + * struct foo *p = (struct foo *) m_tag_alloc(...); * struct m_tag *mtag = &p->tag; */ -- cgit v1.3