kernel: Fix some debug messages that are not shown by default
This commit is contained in:
parent
e8e05159c1
commit
b8f81502b8
@ -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);
|
||||
|
@ -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;
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user