diff --git a/libtorrent/include/libtorrent/debug.hpp b/libtorrent/include/libtorrent/debug.hpp index 41e08b28d..0d3158417 100755 --- a/libtorrent/include/libtorrent/debug.hpp +++ b/libtorrent/include/libtorrent/debug.hpp @@ -69,7 +69,7 @@ namespace libtorrent } catch (std::exception& e) { - std::cerr << "failed to create log '" << filename << "': " << e.what() << std::endl; + std::cerr << "failed to create log '" << filename.string() << "': " << e.what() << std::endl; } }