aboutsummaryrefslogtreecommitdiffstats
path: root/tests/check.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/check.c')
-rw-r--r--tests/check.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/check.c b/tests/check.c
index 25e27b49..2fb51cc6 100644
--- a/tests/check.c
+++ b/tests/check.c
@@ -13,7 +13,7 @@ gboolean g_io_channel_pair(GIOChannel **ch1, GIOChannel **ch2)
{
int sock[2];
- if (socketpair(AF_UNIX, SOCK_STREAM, PF_UNIX, sock) < 0) {
+ if (socketpair(AF_UNIX, SOCK_STREAM, 0, sock) < 0) {
perror("socketpair");
return FALSE;
}