From b8594ecb82060e2f20c33371e7631cb5450be2ea Mon Sep 17 00:00:00 2001 From: Matt McCormick Date: Sun, 6 Mar 2016 10:57:38 -0500 Subject: [PATCH] Correct total memory output for the default mode. --- common/memory.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/memory.cc b/common/memory.cc index 23a4ea5..09fc7a9 100644 --- a/common/memory.cc +++ b/common/memory.cc @@ -65,7 +65,7 @@ std::string mem_string( const MemoryStatus & mem_status, } default: // Default mode, just show the used/total memory in MB oss << static_cast< unsigned int >( mem_status.used_mem ) << '/' - << static_cast< unsigned int >( mem_status.used_mem ) << "MB"; + << static_cast< unsigned int >( mem_status.total_mem ) << "MB"; } if( use_colors )