aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/run_filter.c2
-rw-r--r--test/signals.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/run_filter.c b/test/run_filter.c
index d1dffc190..8e793b768 100644
--- a/test/run_filter.c
+++ b/test/run_filter.c
@@ -183,7 +183,7 @@ int main(int argc, char **argv)
nbytes = write(1, dest, length);
if (nbytes < 0) {
- g_printerr("Failed to write: %s\n", strerror(errno));
+ g_printerr("Failed to write: %s\n", g_strerror(errno));
filter_close(filter);
filter_free(filter);
return 1;
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