Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F100690887
D46093.id141304.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D46093.id141304.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D46093: kern_malloc: remove '.' and '\n' from KASSERT/panic
Attached
Detach File
Event Timeline
Log In to Comment