From be36c0769a813141db128a3ba9ab072b3f321039 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 30 Jul 2014 22:02:42 +0200 Subject: TagId3: fix printf string parameter --- src/tag/TagId3.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tag') 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; } -- cgit v1.2.3