mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-18 22:58:54 +02:00
gio/tests: Fix build with -Werror=format-security
This commit is contained in:
@@ -221,7 +221,7 @@ setup (Test *test,
|
|||||||
if (socketpair (AF_UNIX, SOCK_STREAM, 0, pair) < 0)
|
if (socketpair (AF_UNIX, SOCK_STREAM, 0, pair) < 0)
|
||||||
{
|
{
|
||||||
g_set_error (&error, G_IO_ERROR, g_io_error_from_errno (errno),
|
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);
|
g_assert_no_error (error);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user