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/riff.c | |
parent | faf35e6082a8c685140820f334b5c4ecc9ce6666 (diff) | |
download | mpd-5016839b90274017696e0942f424d4f361d39ea2.tar.gz mpd-5016839b90274017696e0942f424d4f361d39ea2.tar.xz mpd-5016839b90274017696e0942f424d4f361d39ea2.zip |
use g_strerror() instead of strerror()
Make sure we get a UTF-8 encoded string.
Diffstat (limited to '')
-rw-r--r-- | src/riff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/riff.c b/src/riff.c index 670fb55f5..9ee916971 100644 --- a/src/riff.c +++ b/src/riff.c @@ -57,7 +57,7 @@ riff_seek_id3(FILE *file) ret = fstat(fileno(file), &st); if (ret < 0) { g_warning("Failed to stat file descriptor: %s", - strerror(errno)); + g_strerror(errno)); return 0; } |