From 95f3a1c938452d6e4a50ae121a2087b6eb75007a Mon Sep 17 00:00:00 2001 From: AbhishekShah212 Date: Mon, 9 Sep 2019 23:40:42 -0700 Subject: [PATCH] correct error message --- libethash-cpu/CPUMiner.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libethash-cpu/CPUMiner.cpp b/libethash-cpu/CPUMiner.cpp index 16be7cf231..72063cafe4 100644 --- a/libethash-cpu/CPUMiner.cpp +++ b/libethash-cpu/CPUMiner.cpp @@ -81,9 +81,9 @@ static size_t getTotalPhysAvailableMemory() mach_msg_type_number_t count = HOST_VM_INFO_COUNT; rv = host_statistics (host, HOST_VM_INFO, (host_info_t)&vm_stat, &count); if (rv != KERN_SUCCESS) { - cwarn << "Error in func " << __FUNCTION__ << " at host_info(...) \"" + cwarn << "Error in func " << __FUNCTION__ << " at host_statistics(...) \"" << "\"\n"; - mach_error("host_info(...) error :", rv); + mach_error("host_statistics(...) error :", rv); return 0; } return vm_stat.free_count*page_size;