aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core
diff options
context:
space:
mode:
authorwarptangent <warptangent@inbox.com>2015-05-08 11:32:20 -0700
committerwarptangent <warptangent@inbox.com>2015-05-08 14:12:06 -0700
commit71af04669c418e6312320bf098dd9928854f4d00 (patch)
tree4e4c4a8c821511fd28d87d398badd86b956f4df4 /src/cryptonote_core
parentFix incompatibility with blockchain exporter when source is LMDB (diff)
downloadmonero-71af04669c418e6312320bf098dd9928854f4d00.tar.xz
Update log statements
Use filesystem path conversion to string() instead of c_str(). Windows may otherwise output an address.
Diffstat (limited to 'src/cryptonote_core')
-rw-r--r--src/cryptonote_core/cryptonote_core.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_core/cryptonote_core.cpp b/src/cryptonote_core/cryptonote_core.cpp
index a5517e011..2037a8c28 100644
--- a/src/cryptonote_core/cryptonote_core.cpp
+++ b/src/cryptonote_core/cryptonote_core.cpp
@@ -237,7 +237,7 @@ namespace cryptonote
folder /= db->get_db_name();
- LOG_PRINT_L0("Loading blockchain from folder " << folder.c_str() << " ...");
+ LOG_PRINT_L0("Loading blockchain from folder " << folder.string() << " ...");
const std::string filename = folder.string();
try