diff options
author | peter <peter@FreeBSD.org> | 2003-12-23 02:36:43 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2003-12-23 02:36:43 +0000 |
commit | 7cc77e03ae647ad532a0a4b708811e38ed15c9e4 (patch) | |
tree | d22ef24bdd562f18d9dfc77f257b3dd71335c80f /sys/kern/uipc_mbuf.c | |
parent | 409dd19ac040f6465a4e73882c919f0dc679c18e (diff) | |
download | FreeBSD-src-7cc77e03ae647ad532a0a4b708811e38ed15c9e4.zip FreeBSD-src-7cc77e03ae647ad532a0a4b708811e38ed15c9e4.tar.gz |
Catch a few places where NULL (pointer) was used where 0 (integer) was
expected.
Diffstat (limited to 'sys/kern/uipc_mbuf.c')
-rw-r--r-- | sys/kern/uipc_mbuf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/uipc_mbuf.c b/sys/kern/uipc_mbuf.c index aa6e532..574b336 100644 --- a/sys/kern/uipc_mbuf.c +++ b/sys/kern/uipc_mbuf.c @@ -897,7 +897,7 @@ m_defrag(struct mbuf *m0, int how) 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; |