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 /test/signals.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 'test/signals.c')
-rw-r--r-- | test/signals.c | 2 |
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 |