summaryrefslogtreecommitdiff
path: root/Kernel/Syscalls/sigaction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Syscalls/sigaction.cpp')
-rw-r--r--Kernel/Syscalls/sigaction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Syscalls/sigaction.cpp b/Kernel/Syscalls/sigaction.cpp
index 411ecd99e7..79450ca974 100644
--- a/Kernel/Syscalls/sigaction.cpp
+++ b/Kernel/Syscalls/sigaction.cpp
@@ -189,7 +189,7 @@ ErrorOr<void> Process::remap_range_as_stack(FlatPtr address, size_t size)
return {};
}
- if (const auto& regions = address_space().find_regions_intersecting(range_to_remap); regions.size()) {
+ if (const auto& regions = TRY(address_space().find_regions_intersecting(range_to_remap)); regions.size()) {
size_t full_size_found = 0;
// Check that all intersecting regions are compatible.
for (const auto* region : regions) {