kfree: fix format specifier

This commit is contained in:
Michael Shaw 2023-05-13 20:40:56 -04:00
commit c94d26dff1

View file

@ -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;
}