aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Konovalov <maxim@FreeBSD.org>2004-05-18 14:13:23 +0000
committerMaxim Konovalov <maxim@FreeBSD.org>2004-05-18 14:13:23 +0000
commit0a258c19b123cbad7749294c028f6cc8b04dac67 (patch)
tree9f8388573a28dafd2f4768fe43213394d2344884
parentc85c1d27794961cbbefeb4e57e4fd6c4d3d37ede (diff)
downloadsrc-0a258c19b123cbad7749294c028f6cc8b04dac67.tar.gz
src-0a258c19b123cbad7749294c028f6cc8b04dac67.zip
o Fix comments: s/m_tag_allocate/m_tag_alloc/.
Spotted by: Gleb Smirnoff MFC after: 1 week
Notes
Notes: svn path=/head/; revision=129390
-rw-r--r--sys/sys/mbuf.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/sys/mbuf.h b/sys/sys/mbuf.h
index 1ca9dbf82cf8..31dc6b7e9a32 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;
*/