hle/kernel: Migrate logging macros
This commit is contained in:
parent
f831a08224
commit
a8110cfd3f
11 changed files with 128 additions and 125 deletions
|
@ -63,9 +63,9 @@ ResultCode Mutex::Release(Thread* thread) {
|
|||
// We can only release the mutex if it's held by the calling thread.
|
||||
if (thread != holding_thread) {
|
||||
if (holding_thread) {
|
||||
LOG_ERROR(
|
||||
NGLOG_ERROR(
|
||||
Kernel,
|
||||
"Tried to release a mutex (owned by thread id %u) from a different thread id %u",
|
||||
"Tried to release a mutex (owned by thread id {}) from a different thread id {}",
|
||||
holding_thread->thread_id, thread->thread_id);
|
||||
}
|
||||
return ResultCode(ErrCodes::WrongLockingThread, ErrorModule::Kernel,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue