diff --git a/libraries/libmesosphere/source/kern_k_memory_block_manager.cpp b/libraries/libmesosphere/source/kern_k_memory_block_manager.cpp index 1f818e94d..ed8917cba 100644 --- a/libraries/libmesosphere/source/kern_k_memory_block_manager.cpp +++ b/libraries/libmesosphere/source/kern_k_memory_block_manager.cpp @@ -275,7 +275,7 @@ namespace ams::kern { } /* Call the locked update function. */ - std::addressof(*it)->*lock_func(perm); + (std::addressof(*it)->*lock_func)(perm); cur_address += cur_info.GetSize(); remaining_pages -= cur_info.GetNumPages(); it++;