summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorsilby <silby@FreeBSD.org>2003-12-25 01:17:27 +0000
committersilby <silby@FreeBSD.org>2003-12-25 01:17:27 +0000
commit0884486ba201694d731ab6045d2422bd8d12a232 (patch)
treecc38f54d4105b930ae31b198670d74735a2ae539 /sys
parent385e9eaf78bb9aa940e8287c1fcf82fc01a1c958 (diff)
downloadFreeBSD-src-0884486ba201694d731ab6045d2422bd8d12a232.zip
FreeBSD-src-0884486ba201694d731ab6045d2422bd8d12a232.tar.gz
Fix another 0 / NULL mixup.
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/uipc_mbuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/uipc_mbuf.c b/sys/kern/uipc_mbuf.c
index 574b336..1af7f2c 100644
--- a/sys/kern/uipc_mbuf.c
+++ b/sys/kern/uipc_mbuf.c
@@ -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;
OpenPOWER on IntegriCloud