diff options
author | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2021-09-08 19:31:56 +0300 |
---|---|---|
committer | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2021-09-08 19:31:56 +0300 |
commit | da688a15607c55359840a13ac844f185d2d7a069 (patch) | |
tree | d58d9597cc0d12ede62719d66dc971745e7f2129 | |
parent | afbac282eda46b9d6cc6b8ab9a959fcdbe1ef606 (diff) |
Fix typo on Mac OS in last commit.
-rw-r--r-- | include/llfio/v2.0/detail/impl/posix/utils.ipp | 4 |
1 files 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 ccd634e1..19f319c3 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; |