gio/tests: Fix build with -Werror=format-security

This commit is contained in:
Rico Tzschichholz 2012-10-27 12:12:29 +02:00
parent fa523734c7
commit 8911cee350

View File

@ -221,7 +221,7 @@ setup (Test *test,
if (socketpair (AF_UNIX, SOCK_STREAM, 0, pair) < 0)
{
g_set_error (&error, G_IO_ERROR, g_io_error_from_errno (errno),
g_strerror (errno));
"%s", g_strerror (errno));
g_assert_no_error (error);
}