diff options
Diffstat (limited to 'Kernel/Syscalls/purge.cpp')
-rw-r--r-- | Kernel/Syscalls/purge.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Syscalls/purge.cpp b/Kernel/Syscalls/purge.cpp index 0c52501fc2..722c67166f 100644 --- a/Kernel/Syscalls/purge.cpp +++ b/Kernel/Syscalls/purge.cpp @@ -15,7 +15,7 @@ namespace Kernel { ErrorOr<FlatPtr> Process::sys$purge(int mode) { VERIFY_PROCESS_BIG_LOCK_ACQUIRED(this) - REQUIRE_NO_PROMISES; + require_no_promises(); if (!is_superuser()) return EPERM; size_t purged_page_count = 0; |