diff --git a/src/masternodeconfig.cpp b/src/masternodeconfig.cpp index e1f342808..bb7566ebd 100644 --- a/src/masternodeconfig.cpp +++ b/src/masternodeconfig.cpp @@ -20,7 +20,7 @@ bool CMasternodeConfig::read(std::string& strErr) { boost::filesystem::path pathMasternodeConfigFile = GetMasternodeConfigFile(); boost::filesystem::ifstream streamConfig(pathMasternodeConfigFile); - LogPrintf("loading masternode file at %s\n", pathMasternodeConfigFile.c_str()); + LogPrintf("loading masternode file at %s\n", pathMasternodeConfigFile.string()); if (!streamConfig.good()) { FILE* configFile = fopen(pathMasternodeConfigFile.string().c_str(), "a");