mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 13:19:05 +00:00
Kernel: Rename Locker => MutexLocker
This commit is contained in:
parent
ab50a1480f
commit
9457d83986
Notes:
sideshowbarker
2024-07-18 08:50:48 +09:00
Author: https://github.com/awesomekling
Commit: 9457d83986
40 changed files with 230 additions and 230 deletions
|
@ -15,7 +15,7 @@ KResultOr<FlatPtr> Process::sys$uname(Userspace<utsname*> user_buf)
|
|||
|
||||
REQUIRE_PROMISE(stdio);
|
||||
|
||||
Locker locker(*g_hostname_lock, Mutex::Mode::Shared);
|
||||
MutexLocker locker(*g_hostname_lock, Mutex::Mode::Shared);
|
||||
if (g_hostname->length() + 1 > sizeof(utsname::nodename))
|
||||
return ENAMETOOLONG;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue