diff options
author | 2002-12-05 22:32:04 +0000 | |
---|---|---|
committer | 2002-12-05 22:32:04 +0000 | |
commit | 13230697e7dd09c930cac39e6d2b6923f6b1a659 (patch) | |
tree | 93dd1a9ad78af814e5540f43e25f5202102e53bc /sys/kern/kern_malloc_debug.c | |
parent | update test results (diff) | |
download | wireguard-openbsd-13230697e7dd09c930cac39e6d2b6923f6b1a659.tar.xz wireguard-openbsd-13230697e7dd09c930cac39e6d2b6923f6b1a659.zip |
Hmm.. I don't think we want the default to be to debug every allocation.
Diffstat (limited to 'sys/kern/kern_malloc_debug.c')
-rw-r--r-- | sys/kern/kern_malloc_debug.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/kern_malloc_debug.c b/sys/kern/kern_malloc_debug.c index b12f7a6edc3..c31aa4adc96 100644 --- a/sys/kern/kern_malloc_debug.c +++ b/sys/kern/kern_malloc_debug.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_malloc_debug.c,v 1.19 2002/12/05 22:16:13 art Exp $ */ +/* $OpenBSD: kern_malloc_debug.c,v 1.20 2002/12/05 22:32:04 art Exp $ */ /* * Copyright (c) 1999, 2000 Artur Grabowski <art@openbsd.org> @@ -75,8 +75,8 @@ * if any memory chunks of this type are used. It's ok to change the size * in runtime. */ -int debug_malloc_type = 0; -int debug_malloc_size = 0; +int debug_malloc_type = -1; +int debug_malloc_size = -1; int debug_malloc_size_lo = -1; int debug_malloc_size_hi = -1; |