Page MenuHomeFreeBSD

D46093.id141304.diff
No OneTemporary

D46093.id141304.diff

diff --git a/sys/kern/kern_malloc.c b/sys/kern/kern_malloc.c
--- a/sys/kern/kern_malloc.c
+++ b/sys/kern/kern_malloc.c
@@ -713,7 +713,7 @@
size = *sizep;
KASSERT(size <= kmem_zmax && (flags & M_EXEC) == 0,
- ("malloc_domain: Called with bad flag / size combination."));
+ ("malloc_domain: Called with bad flag / size combination"));
if (size & KMEM_ZMASK)
size = (size & ~KMEM_ZMASK) + KMEM_ZBASE;
indx = kmemsize[size >> KMEM_ZSHIFT];
@@ -996,7 +996,7 @@
vtozoneslab((vm_offset_t)addr & (~UMA_SLAB_MASK), &zone, &slab);
if (slab == NULL)
- panic("free: address %p(%p) has not been allocated.\n",
+ panic("free: address %p(%p) has not been allocated",
addr, (void *)((u_long)addr & (~UMA_SLAB_MASK)));
switch (GET_SLAB_COOKIE(slab)) {
@@ -1162,7 +1162,7 @@
#else
vtozoneslab((vm_offset_t)addr & (~UMA_SLAB_MASK), &zone, &slab);
if (slab == NULL)
- panic("malloc_usable_size: address %p(%p) is not allocated.\n",
+ panic("malloc_usable_size: address %p(%p) is not allocated",
addr, (void *)((u_long)addr & (~UMA_SLAB_MASK)));
switch (GET_SLAB_COOKIE(slab)) {

File Metadata

Mime Type
text/plain
Expires
Sat, Oct 19, 10:24 AM (21 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
10588492
Default Alt Text
D46093.id141304.diff (1 KB)

Event Timeline