summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2002-11-26 17:59:16 +0000
committersam <sam@FreeBSD.org>2002-11-26 17:59:16 +0000
commit19ffbf8983f81706ba2b3ec9152d598291c0215f (patch)
treee52c33ecb26c6ffc757ab9495d93c1ff0f3a3d1b /sys
parent10c48e457c8da47353caba1e4c3adcaa9b5e93c8 (diff)
downloadFreeBSD-src-19ffbf8983f81706ba2b3ec9152d598291c0215f.zip
FreeBSD-src-19ffbf8983f81706ba2b3ec9152d598291c0215f.tar.gz
correct function names in KASSERT's for 2 m_tag routines
Submitted by: rwatson Approved by: re
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/uipc_mbuf2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/uipc_mbuf2.c b/sys/kern/uipc_mbuf2.c
index b3f053d..63d86b7 100644
--- a/sys/kern/uipc_mbuf2.c
+++ b/sys/kern/uipc_mbuf2.c
@@ -377,7 +377,7 @@ m_tag_locate(struct mbuf *m, u_int32_t cookie, int type, struct m_tag *t)
{
struct m_tag *p;
- KASSERT(m, ("m_tag_find: null mbuf"));
+ KASSERT(m, ("m_tag_locate: null mbuf"));
if (t == NULL)
p = SLIST_FIRST(&m->m_pkthdr.tags);
else
@@ -416,7 +416,7 @@ m_tag_copy_chain(struct mbuf *to, struct mbuf *from)
struct m_tag *p, *t, *tprev = NULL;
KASSERT(to && from,
- ("m_tag_copy: null argument, to %p from %p", to, from));
+ ("m_tag_copy_chain: null argument, to %p from %p", to, from));
m_tag_delete_chain(to, NULL);
SLIST_FOREACH(p, &from->m_pkthdr.tags, m_tag_link) {
t = m_tag_copy(p);
OpenPOWER on IntegriCloud