diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/mbuf.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/mbuf.h b/sys/sys/mbuf.h index ed6344c..2d49f1b 100644 --- a/sys/sys/mbuf.h +++ b/sys/sys/mbuf.h @@ -587,8 +587,8 @@ struct mcntfree_lst { struct mbuf *_mm = (m); \ int _mt = (t); \ \ - atomic_subtract_long(mbtypes[_mm->m_type], 1); \ - atomic_add_long(mbtypes[_mt], 1); \ + atomic_subtract_long(&mbtypes[_mm->m_type], 1); \ + atomic_add_long(&mbtypes[_mt], 1); \ _mm->m_type = (_mt); \ } while (0) |