summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/mbuf.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1997-12-28 02:56:43 +0000
committerbrian <brian@FreeBSD.org>1997-12-28 02:56:43 +0000
commit82e6e7f1f010d91452fe9563cfc2045d176f225a (patch)
tree5aa7bbc19da0e91b0a2c062380bc2873e287c530 /usr.sbin/ppp/mbuf.c
parent2d964343409ebf259f7e998d52ce2eca7495c1a7 (diff)
downloadFreeBSD-src-82e6e7f1f010d91452fe9563cfc2045d176f225a.zip
FreeBSD-src-82e6e7f1f010d91452fe9563cfc2045d176f225a.tar.gz
Initialize mbuf::pnext.
Complain to LogERROR if we have internal inconsistency (not LogDEBUG).
Diffstat (limited to 'usr.sbin/ppp/mbuf.c')
-rw-r--r--usr.sbin/ppp/mbuf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ppp/mbuf.c b/usr.sbin/ppp/mbuf.c
index 258133d..0d72e1c 100644
--- a/usr.sbin/ppp/mbuf.c
+++ b/usr.sbin/ppp/mbuf.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: mbuf.c,v 1.10 1997/10/26 01:03:16 brian Exp $
+ * $Id: mbuf.c,v 1.11 1997/11/22 03:37:40 brian Exp $
*
*/
#include <sys/param.h>
@@ -79,6 +79,7 @@ mballoc(int cnt, int type)
bp->base = p;
bp->size = bp->cnt = cnt;
bp->type = type;
+ bp->pnext = NULL;
return (bp);
}
OpenPOWER on IntegriCloud