Update log statements

Use filesystem path conversion to string() instead of c_str().
Windows may otherwise output an address.
This commit is contained in:
warptangent 2015-05-08 11:32:20 -07:00
parent 48926d0eeb
commit 71af04669c
No known key found for this signature in database
GPG key ID: 0E490BEBFBE4E92D
3 changed files with 3 additions and 3 deletions

View file

@ -659,7 +659,7 @@ void BlockchainLMDB::open(const std::string& filename, const int mdb_flags)
if (boost::filesystem::exists(old_files / "data.mdb") ||
boost::filesystem::exists(old_files / "lock.mdb"))
{
LOG_PRINT_L0("Found existing LMDB files in " << old_files.c_str());
LOG_PRINT_L0("Found existing LMDB files in " << old_files.string());
LOG_PRINT_L0("Move data.mdb and/or lock.mdb to " << filename << ", or delete them, and then restart");
throw DB_ERROR("Database could not be opened");
}