From da688a15607c55359840a13ac844f185d2d7a069 Mon Sep 17 00:00:00 2001 From: "Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)" Date: Wed, 8 Sep 2021 17:31:56 +0100 Subject: [PATCH] Fix typo on Mac OS in last commit. --- include/llfio/v2.0/detail/impl/posix/utils.ipp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/llfio/v2.0/detail/impl/posix/utils.ipp b/include/llfio/v2.0/detail/impl/posix/utils.ipp index ccd634e1c..19f319c38 100644 --- a/include/llfio/v2.0/detail/impl/posix/utils.ipp +++ b/include/llfio/v2.0/detail/impl/posix/utils.ipp @@ -534,7 +534,7 @@ namespace utils kern_return_t error; mach_msg_type_number_t outCount; process_memory_usage ret; - if(!!(wanted & process_memory_usage::want::this_process)) + if(!!(want & process_memory_usage::want::this_process)) { task_vm_info_data_t vmInfo; // task_kernelmemory_info_data_t kmInfo; @@ -560,7 +560,7 @@ namespace utils ret.private_committed = vmInfo.internal + vmInfo.compressed; ret.private_paged_in = vmInfo.phys_footprint; } - if(!!(wanted & process_memory_usage::want::this_system)) + if(!!(want & process_memory_usage::want::this_system)) { vm_statistics_data_t vmStat; outCount = HOST_VM_INFO_COUNT;