diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1999-08-17 12:31:23 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1999-08-17 12:31:23 +0000 |
commit | 067a7c674acdb0f198c9eb7ff75e17d1238238f6 (patch) | |
tree | a1caa90b8b6ac680d1e87360ec7ecb1f406e7829 /sys | |
parent | 3756d0be356968721750c0fcc1274e987255cadb (diff) |
There was a line missing in the commit from rev 1.6 that resulted in
an uninitialized variable; art@stacken.kth.se
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/uipc_mbuf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/uipc_mbuf.c b/sys/kern/uipc_mbuf.c index beb5b2bd6fa..cfa3aa58c3b 100644 --- a/sys/kern/uipc_mbuf.c +++ b/sys/kern/uipc_mbuf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uipc_mbuf.c,v 1.14 1999/08/09 21:41:51 deraadt Exp $ */ +/* $OpenBSD: uipc_mbuf.c,v 1.15 1999/08/17 12:31:22 millert Exp $ */ /* $NetBSD: uipc_mbuf.c,v 1.15.4.1 1996/06/13 17:11:44 cgd Exp $ */ /* @@ -741,6 +741,7 @@ m_split(m0, len0, wait) return (0); n->m_pkthdr.rcvif = m0->m_pkthdr.rcvif; n->m_pkthdr.len = m0->m_pkthdr.len - len0; + olen = m0->m_pkthdr.len; m0->m_pkthdr.len = len0; if (m->m_flags & M_EXT) goto extpacket; |