base: beautify error message if not mutex owner

This commit is contained in:
Sebastian Sumpf 2022-06-08 09:32:38 +02:00 committed by Christian Helmuth
parent 9b5840cb70
commit fb7282f47a

View File

@ -29,7 +29,7 @@ void Genode::Mutex::release()
{
Lock::Applicant myself(Thread::myself());
if (!_lock.lock_owner(myself)) {
Genode::error("denied non mutex owner the release, mutex=",
Genode::error("release denied, caller not owner, mutex=",
this, ", return ip=", __builtin_return_address(0));
return;
}