From 1da09563310a666095e93d3b4fdc5556a8a7c534 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 5 Mar 2015 10:15:04 +0100 Subject: output/recorder: convert path to UTF-8 for logging --- src/output/plugins/RecorderOutputPlugin.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/output/plugins/RecorderOutputPlugin.cxx b/src/output/plugins/RecorderOutputPlugin.cxx index 115ee534d..4f9231c70 100644 --- a/src/output/plugins/RecorderOutputPlugin.cxx +++ b/src/output/plugins/RecorderOutputPlugin.cxx @@ -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; } -- cgit v1.2.3