diff options
author | Linus Groh <mail@linusgroh.de> | 2022-08-17 21:03:04 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-08-17 22:56:51 +0200 |
commit | 146903a3b5d4b156facc61ed5f8fe453c2874ff1 (patch) | |
tree | abe046a39db1bb7ba832a1b64c98cbfe48a7c024 /Kernel/Syscalls/link.cpp | |
parent | 0db5f62f5733eed123eb9492a5a1c95b0b279e55 (diff) | |
download | serenity-146903a3b5d4b156facc61ed5f8fe453c2874ff1.zip |
Kernel: Require semicolon after VERIFY_{NO_,}PROCESS_BIG_LOCK_ACQUIRED
This matches out general macro use, and specifically other verification
macros like VERIFY(), VERIFY_NOT_REACHED(), VERIFY_INTERRUPTS_ENABLED(),
and VERIFY_INTERRUPTS_DISABLED().
Diffstat (limited to 'Kernel/Syscalls/link.cpp')
-rw-r--r-- | Kernel/Syscalls/link.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Syscalls/link.cpp b/Kernel/Syscalls/link.cpp index fea3c69f00..19da805cb1 100644 --- a/Kernel/Syscalls/link.cpp +++ b/Kernel/Syscalls/link.cpp @@ -12,7 +12,7 @@ namespace Kernel { ErrorOr<FlatPtr> Process::sys$link(Userspace<Syscall::SC_link_params const*> user_params) { - VERIFY_NO_PROCESS_BIG_LOCK(this) + VERIFY_NO_PROCESS_BIG_LOCK(this); TRY(require_promise(Pledge::cpath)); auto params = TRY(copy_typed_from_user(user_params)); auto old_path = TRY(try_copy_kstring_from_user(params.old_path)); @@ -23,7 +23,7 @@ ErrorOr<FlatPtr> Process::sys$link(Userspace<Syscall::SC_link_params const*> use ErrorOr<FlatPtr> Process::sys$symlink(Userspace<Syscall::SC_symlink_params const*> user_params) { - VERIFY_NO_PROCESS_BIG_LOCK(this) + VERIFY_NO_PROCESS_BIG_LOCK(this); TRY(require_promise(Pledge::cpath)); auto params = TRY(copy_typed_from_user(user_params)); |