output/recorder: convert path to UTF-8 for logging

This commit is contained in:
Max Kellermann 2015-03-05 10:15:04 +01:00
parent 983078992d
commit 1da0956331

View File

@ -318,7 +318,8 @@ RecorderOutput::ReopenFormat(AllocatedPath &&new_path, Error &error)
path = std::move(new_path);
file = new_file;
FormatDebug(recorder_domain, "Recording to \"%s\"", path.c_str());
FormatDebug(recorder_domain, "Recording to \"%s\"",
path.ToUTF8().c_str());
return true;
}