Fix warning in <sys/mbuf.h>

This commit is contained in:
Sebastian Huber 2013-10-10 10:40:46 +02:00
parent 7c801d1b01
commit cc2298f0dd

View File

@ -637,7 +637,7 @@ m_cljset(struct mbuf *m, void *cl, int type)
m->m_ext.ext_free = m->m_ext.ext_arg1 = m->m_ext.ext_arg2 = NULL;
m->m_ext.ext_size = size;
m->m_ext.ext_type = type;
m->m_ext.ref_cnt = uma_find_refcnt(zone, cl);
m->m_ext.ref_cnt = (volatile u_int *) uma_find_refcnt(zone, cl);
m->m_flags |= M_EXT;
}