Skip to content

Commit

Permalink
correct error message
Browse files Browse the repository at this point in the history
  • Loading branch information
AbhishekShah212 committed Sep 10, 2019
1 parent 2033f15 commit 95f3a1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libethash-cpu/CPUMiner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 95f3a1c

Please sign in to comment.