summaryrefslogtreecommitdiff
path: root/Kernel/Syscalls/uname.cpp
diff options
context:
space:
mode:
authorBrian Gianforcaro <bgianf@serenityos.org>2021-04-24 15:27:32 -0700
committerAndreas Kling <kling@serenityos.org>2021-04-25 09:38:27 +0200
commit8d6e9fad40d493e6f2027cec37212956294a591f (patch)
tree71816f325880a99ef5b623d9795f2eded3d69ca7 /Kernel/Syscalls/uname.cpp
parent0d5827f8652462715f6c2f91e2b91b2077547ae6 (diff)
downloadserenity-8d6e9fad40d493e6f2027cec37212956294a591f.zip
Kernel: Remove the now defunct `LOCKER(..)` macro.
Diffstat (limited to 'Kernel/Syscalls/uname.cpp')
-rw-r--r--Kernel/Syscalls/uname.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Syscalls/uname.cpp b/Kernel/Syscalls/uname.cpp
index 21fb2c8784..2e65239b60 100644
--- a/Kernel/Syscalls/uname.cpp
+++ b/Kernel/Syscalls/uname.cpp
@@ -15,7 +15,7 @@ KResultOr<int> Process::sys$uname(Userspace<utsname*> user_buf)
REQUIRE_PROMISE(stdio);
- LOCKER(*g_hostname_lock, Lock::Mode::Shared);
+ Locker locker(*g_hostname_lock, Lock::Mode::Shared);
if (g_hostname->length() + 1 > sizeof(utsname::nodename))
return ENAMETOOLONG;