From 8ce58e9e308dade74d274cada5cd450f199430d8 Mon Sep 17 00:00:00 2001 From: apio Date: Sat, 8 Oct 2022 18:16:55 +0200 Subject: [PATCH] Kernel/InitRD: Use %p with printf() --- kernel/src/init/InitRD.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/kernel/src/init/InitRD.cpp b/kernel/src/init/InitRD.cpp index 979b0431..ee921098 100644 --- a/kernel/src/init/InitRD.cpp +++ b/kernel/src/init/InitRD.cpp @@ -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; } \ No newline at end of file