Correct total memory output for the default mode.

This commit is contained in:
Matt McCormick 2016-03-06 10:57:38 -05:00
parent 68fd497108
commit b8594ecb82

@ -65,7 +65,7 @@ std::string mem_string( const MemoryStatus & mem_status,
} }
default: // Default mode, just show the used/total memory in MB default: // Default mode, just show the used/total memory in MB
oss << static_cast< unsigned int >( mem_status.used_mem ) << '/' 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 ) if( use_colors )