mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-04 13:30:31 +00:00
Kernel: Fix bitrotted code behind #ifdef SIGNAL_DEBUG
This commit is contained in:
parent
31ba7ba2cc
commit
e386579436
Notes:
sideshowbarker
2024-07-19 12:11:15 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/e386579436d
1 changed files with 2 additions and 2 deletions
|
@ -185,7 +185,7 @@ const char* Thread::state_string() const
|
|||
ASSERT(!m_blockers.is_empty());
|
||||
return m_blockers.first()->state_string();
|
||||
}
|
||||
kprintf("to_string(Thread::State): Invalid state: %u\n", state());
|
||||
kprintf("Thread::state_string(): Invalid state: %u\n", state());
|
||||
ASSERT_NOT_REACHED();
|
||||
return nullptr;
|
||||
}
|
||||
|
@ -457,7 +457,7 @@ ShouldUnblockThread Thread::dispatch_signal(u8 signal)
|
|||
}
|
||||
|
||||
#ifdef SIGNAL_DEBUG
|
||||
kprintf("signal: Okay, %s(%u) {%s} has been primed with signal handler %w:%x\n", process().name().characters(), pid(), to_string(state()), m_tss.cs, m_tss.eip);
|
||||
kprintf("signal: Okay, %s(%u) {%s} has been primed with signal handler %w:%x\n", process().name().characters(), pid(), state_string(), m_tss.cs, m_tss.eip);
|
||||
#endif
|
||||
return ShouldUnblockThread::Yes;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue