diff --git a/src/chainbase.cpp b/src/chainbase.cpp index ff19c878a8a..93306f0ccdf 100644 --- a/src/chainbase.cpp +++ b/src/chainbase.cpp @@ -85,8 +85,8 @@ namespace chainbase { //also it doesn't looks as nice as warnings generated by fc //this message is for 1.0.2 because failing here would be incompatibel with 1.0 //for 1.1 it probably will be changed to throw an exception - std::cerr << "CHAINBASE: Failed to lock chainbase in RAM: " << std::strerror(errno) << std::endl - << "CHAINBASE: Performance degradation is possible" << std::endl; + std::cerr << "CHAINBASE: Failed to pin chainbase shared memory (of size " << (_segment->get_size() / (1024.0*1024.0)) + << " MB) in RAM. Performance degradation is possible." << std::endl; } #endif }