aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zen/chunk/chunk.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/zen/chunk/chunk.cpp b/zen/chunk/chunk.cpp
index e2ecf8c30..866372654 100644
--- a/zen/chunk/chunk.cpp
+++ b/zen/chunk/chunk.cpp
@@ -1038,7 +1038,7 @@ ChunkCommand::Run(const ZenCliOptions& GlobalOptions, int argc, char** argv)
catch (std::exception& ex)
{
zen::ExtendableStringBuilder<256> Path8;
- zen::WideToUtf8(ThisFile.Path.c_str(), Path8);
+ zen::PathToUtf8(ThisFile.Path, Path8);
ZEN_WARN("Caught exception while chunking '{}': {}", Path8, ex.what());
}
});