aboutsummaryrefslogtreecommitdiffstats
path: root/test/signals.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 /test/signals.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 '')
-rw-r--r--test/signals.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/signals.c b/test/signals.c
index 5f5d336f3..15761f6b0 100644
--- a/test/signals.c
+++ b/test/signals.c
@@ -39,7 +39,7 @@ static void
x_sigaction(int signum, const struct sigaction *act)
{
if (sigaction(signum, act, NULL) < 0)
- MPD_ERROR("sigaction() failed: %s", strerror(errno));
+ MPD_ERROR("sigaction() failed: %s", g_strerror(errno));
}
#endif