diff --git a/libraries/libmesosphere/source/kern_k_memory_block_manager.cpp b/libraries/libmesosphere/source/kern_k_memory_block_manager.cpp index 1f818e9..ed8917c 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 @@ } /* 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++;