diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 1997-10-11 13:13:09 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1997-10-11 13:13:09 +0000 |
| commit | 22c6434807a4492ea9bc0645d86d4205f9def3de (patch) | |
| tree | 959129e9bd970f3ed6e4e4d4446299ae96b67947 /sys/kern/kern_malloc.c | |
| parent | a6cf5c6dfc290038764fbd93882357d4791e55b1 (diff) | |
Notes
Diffstat (limited to 'sys/kern/kern_malloc.c')
| -rw-r--r-- | sys/kern/kern_malloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_malloc.c b/sys/kern/kern_malloc.c index 33052d96fb80..3bb3f3e88489 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.33 1997/10/11 10:41:44 peter Exp $ + * $Id: kern_malloc.c,v 1.34 1997/10/11 10:49:43 phk Exp $ */ #include <sys/param.h> @@ -253,7 +253,7 @@ free(addr, type) register struct malloc_type *ksp = type; if (!type->ks_next) - malloc_init(type); + panic("freeing with unknown type (%s)", type->ks_shortdesc); #ifdef DIAGNOSTIC if ((char *)addr < kmembase || (char *)addr >= kmemlimit) { |
