summaryrefslogtreecommitdiff
path: root/sys/kern/kern_malloc.c
diff options
context:
space:
mode:
authorDavid Greenman <dg@FreeBSD.org>1995-04-16 11:25:15 +0000
committerDavid Greenman <dg@FreeBSD.org>1995-04-16 11:25:15 +0000
commit5124d59831c820f78f39177b0453a14875f55b92 (patch)
tree09dcc8b3c90b420a55264ecf956fcd46b18d5fab /sys/kern/kern_malloc.c
parent857f4d44be4d79b3675be7f8623a3d8c59e0c8c7 (diff)
Notes
Diffstat (limited to 'sys/kern/kern_malloc.c')
-rw-r--r--sys/kern/kern_malloc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/kern_malloc.c b/sys/kern/kern_malloc.c
index edb358e11c70..ad0929d3af29 100644
--- a/sys/kern/kern_malloc.c
+++ b/sys/kern/kern_malloc.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)kern_malloc.c 8.3 (Berkeley) 1/4/94
- * $Id: kern_malloc.c,v 1.9 1995/03/11 22:28:16 davidg Exp $
+ * $Id: kern_malloc.c,v 1.10 1995/03/19 14:28:52 davidg Exp $
*/
#include <sys/param.h>
@@ -64,8 +64,8 @@ long addrmask[] = { 0,
* The WEIRD_ADDR is used as known text to copy into free objects so
* that modifications after frees can be detected.
*/
-#define WEIRD_ADDR 0xdeadbeef
-#define MAX_COPY 256
+#define WEIRD_ADDR 0xdeadc0de
+#define MAX_COPY 64
/*
* Normally the first word of the structure is used to hold the list