diff options
author | silby <silby@FreeBSD.org> | 2003-12-25 01:17:27 +0000 |
---|---|---|
committer | silby <silby@FreeBSD.org> | 2003-12-25 01:17:27 +0000 |
commit | 0884486ba201694d731ab6045d2422bd8d12a232 (patch) | |
tree | cc38f54d4105b930ae31b198670d74735a2ae539 | |
parent | 385e9eaf78bb9aa940e8287c1fcf82fc01a1c958 (diff) | |
download | FreeBSD-src-0884486ba201694d731ab6045d2422bd8d12a232.zip FreeBSD-src-0884486ba201694d731ab6045d2422bd8d12a232.tar.gz |
Fix another 0 / NULL mixup.
-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 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; |