Fix another 0 / NULL mixup.

This commit is contained in:
Mike Silbersack 2003-12-25 01:17:27 +00:00
parent e819d5cc21
commit 8dee2f6746

View File

@ -981,7 +981,7 @@ m_fragment(struct mbuf *m0, int how, int length)
if (m_final == NULL)
goto nospace;
if (m_dup_pkthdr(m_final, m0, how) == NULL)
if (m_dup_pkthdr(m_final, m0, how) == 0)
goto nospace;
m_new = m_final;