fix definition of NCL_INIT (from hibler)
authorKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Wed, 16 May 1990 08:57:03 +0000 (00:57 -0800)
committerKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Wed, 16 May 1990 08:57:03 +0000 (00:57 -0800)
SCCS-vsn: sys/kern/uipc_mbuf.c 7.14

usr/src/sys/kern/uipc_mbuf.c

index 5089a93..2fdfacc 100644 (file)
@@ -13,7 +13,7 @@
  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  *
  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  *
- *     @(#)uipc_mbuf.c 7.13 (Berkeley) %G%
+ *     @(#)uipc_mbuf.c 7.14 (Berkeley) %G%
  */
 
 #include "param.h"
  */
 
 #include "param.h"
@@ -36,7 +36,7 @@ mbinit()
        int s;
 
 #if MCLBYTES < 4096
        int s;
 
 #if MCLBYTES < 4096
-#define NCL_INIT       (4096/MCLBYTES)
+#define NCL_INIT       (4096/CLBYTES)
 #else
 #define NCL_INIT       1
 #endif
 #else
 #define NCL_INIT       1
 #endif
@@ -229,7 +229,6 @@ m_prepend(m, len, how)
        return (m);
 }
 
        return (m);
 }
 
-/*
 /*
  * Make a copy of an mbuf chain starting "off0" bytes from the beginning,
  * continuing for "len" bytes.  If len is M_COPYALL, copy to end of mbuf.
 /*
  * Make a copy of an mbuf chain starting "off0" bytes from the beginning,
  * continuing for "len" bytes.  If len is M_COPYALL, copy to end of mbuf.