diff options
Diffstat (limited to 'Kernel/Memory/Region.h')
-rw-r--r-- | Kernel/Memory/Region.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Memory/Region.h b/Kernel/Memory/Region.h index e1c8ae35ec..10020e9104 100644 --- a/Kernel/Memory/Region.h +++ b/Kernel/Memory/Region.h @@ -170,7 +170,7 @@ public: void set_executable(bool b) { set_access_bit(Access::Execute, b); } void set_page_directory(PageDirectory&); - [[nodiscard]] bool map(PageDirectory&, ShouldFlushTLB = ShouldFlushTLB::Yes); + KResult map(PageDirectory&, ShouldFlushTLB = ShouldFlushTLB::Yes); enum class ShouldDeallocateVirtualRange { No, Yes, |