summaryrefslogtreecommitdiffstats
path: root/sys/kern/uipc_mbuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/uipc_mbuf.c')
-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 62dfda6..84354f3 100644
--- a/sys/kern/uipc_mbuf.c
+++ b/sys/kern/uipc_mbuf.c
@@ -459,7 +459,7 @@ m_copym(struct mbuf *m, int off0, int len, int wait)
m = m->m_next;
}
np = ⊤
- top = 0;
+ top = NULL;
while (len > 0) {
if (m == NULL) {
KASSERT(len == M_COPYALL,
OpenPOWER on IntegriCloud