summaryrefslogtreecommitdiff
path: root/lib/libc/gen/assert.c
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2002-12-05 22:16:14 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2002-12-05 22:16:14 +0000
commit4d5a44907aac4575e14651ef0f82b8413d323b9d (patch)
tree9e902a94d5e9997d582dbc403d08e7a8f4e83616 /lib/libc/gen/assert.c
parentc7512fd6222f8607869c0aa0ef323ed86c8cd9eb (diff)
Do not use debug_malloc if it hasn't been initialized.
This can happen when debug_malloc_init calls pool_init which calls malloc (because the kernel is built with POOL_DIAGNOSTIC) which in turn calls debug_malloc and debug_malloc just happens to trigger on all memory allocations. This allows us to run a kernel debugging _all_ allocations.
Diffstat (limited to 'lib/libc/gen/assert.c')
0 files changed, 0 insertions, 0 deletions