kernel: Fix some debug messages that are not shown by default

This commit is contained in:
apio 2023-08-16 09:03:25 +02:00
parent e8e05159c1
commit b8f81502b8
Signed by: apio
GPG Key ID: B8A7D06E42258954
3 changed files with 3 additions and 3 deletions

View File

@ -63,7 +63,7 @@ namespace Ext2
#ifdef EXT2_DEBUG
kdbgln("ext2: Read inode %lu with mode %#x (%#x + %#o), size %lu", inum, inode->m_raw_inode.mode,
inode->m_raw_inode.mode & 0xf000, inode->mode(), inode->size());
inode->m_raw_inode.mode & 0xf000, inode->metadata().mode, inode->metadata().size);
#endif
m_inode_cache.try_set(inum, inode);

View File

@ -182,7 +182,7 @@ Result<u64> sys_fork(Registers* regs, SyscallArgs)
Scheduler::add_thread(thread);
#ifdef FORK_DEBUG
kdbgln("fork: thread %lu forked into child %lu", current->id, thread->id);
kdbgln("fork: thread %d forked into child %d", current->id, thread->id);
#endif
return thread->id;

View File

@ -183,7 +183,7 @@ namespace Scheduler
CPU::disable_interrupts();
#ifdef REAP_DEBUG
kdbgln("reap: reaping thread with id %zu", thread->id);
kdbgln("reap: reaping thread with id %d", thread->id);
#endif
if (thread->is_kernel)