diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 2001-06-21 14:28:54 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 2001-06-21 14:28:54 +0000 |
commit | 9a9e6f5ad5e62fcbb206166d05df818fdc3df84c (patch) | |
tree | f0c98ff75250365ce573e38ca82362cf39ddc709 /sys/kern | |
parent | 2bac1eade82fc81061de64caadb54c8fb63955c0 (diff) |
Canonicalize panic message
Diffstat (limited to 'sys/kern')
-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 8a51c816f2e..1ac1c514bd6 100644 --- a/sys/kern/kern_malloc.c +++ b/sys/kern/kern_malloc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_malloc.c,v 1.32 2001/06/21 14:27:13 niklas Exp $ */ +/* $OpenBSD: kern_malloc.c,v 1.33 2001/06/21 14:28:53 niklas Exp $ */ /* $NetBSD: kern_malloc.c,v 1.15.4.2 1996/06/13 17:10:56 cgd Exp $ */ /* @@ -343,7 +343,7 @@ free(addr, type) #ifdef DIAGNOSTIC if (addr < (void *)kmembase || addr >= (void *)kmemlimit) - panic("free of non-malloced addr %p type %s", addr, + panic("free: non-malloced addr %p type %s", addr, memname[type]); #endif |