diff --git a/DaemonLinux.cpp b/DaemonLinux.cpp index 5824430e..ac7a3402 100644 --- a/DaemonLinux.cpp +++ b/DaemonLinux.cpp @@ -62,7 +62,7 @@ namespace i2p LogPrint("Error, could not create process group."); return false; } - std::string d(i2p::util::filesystem::GetDataDir()); // make a copy + std::string d(i2p::util::filesystem::GetDataDir().string ()); // make a copy chdir(d.c_str()); // close stdin/stdout/stderr descriptors