kfree: fix format specifier
This commit is contained in:
parent
ba332e0e55
commit
c94d26dff1
1 changed files with 1 additions and 1 deletions
|
|
@ -206,7 +206,7 @@ void kfree(void *ptr)
|
|||
|
||||
struct rbnode *n = rbt_search(&kmalloc_tree, (uint64_t)ptr);
|
||||
if (n == NULL) {
|
||||
printf(LOG_ERROR "kmalloc: invalid free: %p\n", ptr);
|
||||
printf(LOG_ERROR "kmalloc: invalid free: %X\n", ptr);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue