lib/resolvers/windows/memory_resolver.rb in facter-4.0.7.pre vs lib/resolvers/windows/memory_resolver.rb in facter-4.0.8.pre
- old
+ new
@@ -15,10 +15,10 @@
def read_performance_information
require "#{ROOT_DIR}/lib/resolvers/windows/ffi/memory_ffi"
state_ptr = FFI::MemoryPointer.new(PerformanceInformation.size)
- if MemoryFFI::GetPerformanceInfo(state_ptr, state_ptr.size) == FFI::WIN32_FALSE
+ if MemoryFFI::GetPerformanceInfo(state_ptr, state_ptr.size) == FFI::WIN32FALSE
@log.debug 'Resolving memory facts failed'
return
end
PerformanceInformation.new(state_ptr)