stdio: add vsnprintf and change printf to kprintf
This commit is contained in:
parent
05c528f64c
commit
0395b65ad8
21 changed files with 102 additions and 186 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: %X\n", ptr);
|
||||
kprintf(LOG_ERROR "kmalloc: invalid free: %X\n", ptr);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue