Kernel/InitRD: Use %p with printf()

This commit is contained in:
apio 2022-10-08 18:16:55 +02:00
parent 5fc543c179
commit 8ce58e9e30

View File

@ -116,7 +116,6 @@ void InitRD::init()
{
initrd_base =
MemoryManager::get_unaligned_mappings((void*)bootboot.initrd_ptr, bootboot.initrd_size / PAGE_SIZE + 1);
kdbgln("physical base at %lx, size %lx, mapped to %lx", bootboot.initrd_ptr, bootboot.initrd_size,
(uint64_t)initrd_base);
kdbgln("physical base at %lx, size %lx, mapped to %p", bootboot.initrd_ptr, bootboot.initrd_size, initrd_base);
initrd_initialized = true;
}