diff options
author | Max Kellermann <max@duempel.org> | 2012-03-06 22:06:08 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2012-03-06 22:06:08 +0100 |
commit | 5016839b90274017696e0942f424d4f361d39ea2 (patch) | |
tree | e106c4f95f413b6b8252ff867586460cc63931c6 /src/tag_id3.c | |
parent | faf35e6082a8c685140820f334b5c4ecc9ce6666 (diff) |
use g_strerror() instead of strerror()
Make sure we get a UTF-8 encoded string.
Diffstat (limited to 'src/tag_id3.c')
-rw-r--r-- | src/tag_id3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tag_id3.c b/src/tag_id3.c index 394068d3..c98179f0 100644 --- a/src/tag_id3.c +++ b/src/tag_id3.c @@ -551,7 +551,7 @@ tag_id3_scan(const char *path_fs, stream = fopen(path_fs, "rb"); if (!stream) { g_debug("tag_id3_load: Failed to open file: '%s', %s", - path_fs, strerror(errno)); + path_fs, g_strerror(errno)); return false; } |