aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/ao_output_plugin.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-03-06 22:06:08 +0100
committerMax Kellermann <max@duempel.org>2012-03-06 22:06:08 +0100
commit5016839b90274017696e0942f424d4f361d39ea2 (patch)
treee106c4f95f413b6b8252ff867586460cc63931c6 /src/output/ao_output_plugin.c
parentfaf35e6082a8c685140820f334b5c4ecc9ce6666 (diff)
downloadmpd-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 'src/output/ao_output_plugin.c')
-rw-r--r--src/output/ao_output_plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output/ao_output_plugin.c b/src/output/ao_output_plugin.c
index c0790681e..d7e577fa4 100644
--- a/src/output/ao_output_plugin.c
+++ b/src/output/ao_output_plugin.c
@@ -74,7 +74,7 @@ ao_output_error(GError **error_r)
break;
default:
- error = strerror(errno);
+ error = g_strerror(errno);
}
g_set_error(error_r, ao_output_quark(), errno,