aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tag/TagId3.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tag/TagId3.cxx b/src/tag/TagId3.cxx
index c70ec0cd9..cbc293ff6 100644
--- a/src/tag/TagId3.cxx
+++ b/src/tag/TagId3.cxx
@@ -514,7 +514,7 @@ tag_id3_load(Path path_fs, Error &error)
{
FILE *file = FOpen(path_fs, "rb");
if (file == nullptr) {
- error.FormatErrno("Failed to open file %s", path_fs);
+ error.FormatErrno("Failed to open file %s", path_fs.c_str());
return nullptr;
}