aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-07-30 22:02:42 +0200
committerMax Kellermann <max@duempel.org>2014-07-30 22:02:46 +0200
commitbe36c0769a813141db128a3ba9ab072b3f321039 (patch)
treee6004fa6b18eb36ae3bc054537eb2c8b0578de92
parentf9e63dfd6551cdb173f8cc659b8859a39718caea (diff)
downloadmpd-be36c0769a813141db128a3ba9ab072b3f321039.tar.gz
mpd-be36c0769a813141db128a3ba9ab072b3f321039.tar.xz
mpd-be36c0769a813141db128a3ba9ab072b3f321039.zip
TagId3: fix printf string parameter
-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;
}