Only my brain can fart while fixing a previous brain fart.

This commit is contained in:
bmilekic 2002-08-08 13:31:57 +00:00
parent 0f61f9bd06
commit 06a4492289

View File

@ -1051,8 +1051,7 @@ mb_reclaim(void)
#define _mext_init_ref(m, ref) do { \
(m)->m_ext.ref_cnt = ((ref) == NULL) ? \
malloc(sizeof(u_int), M_MBUF, M_NOWAIT) : \
(m)->m_ext.ref_cnt = (u_int *)(ref); \
malloc(sizeof(u_int), M_MBUF, M_NOWAIT) : (u_int *)(ref); \
if ((m)->m_ext.ref_cnt != NULL) { \
*((m)->m_ext.ref_cnt) = 0; \
MEXT_ADD_REF((m)); \