diff options
Diffstat (limited to 'Kernel/Memory/AnonymousVMObject.cpp')
-rw-r--r-- | Kernel/Memory/AnonymousVMObject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Memory/AnonymousVMObject.cpp b/Kernel/Memory/AnonymousVMObject.cpp index 38c5cf9e44..a55d0225c3 100644 --- a/Kernel/Memory/AnonymousVMObject.cpp +++ b/Kernel/Memory/AnonymousVMObject.cpp @@ -253,7 +253,7 @@ NonnullRefPtr<PhysicalPage> AnonymousVMObject::allocate_committed_page(Badge<Reg Bitmap& AnonymousVMObject::ensure_cow_map() { if (m_cow_map.is_null()) - m_cow_map = Bitmap { page_count(), true }; + m_cow_map = Bitmap::try_create(page_count(), true).release_value_but_fixme_should_propagate_errors(); return m_cow_map; } |