about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--nptl/tst-cancel4-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/tst-cancel4-common.c b/nptl/tst-cancel4-common.c
index f2026b81f4..9a6924c1c6 100644
--- a/nptl/tst-cancel4-common.c
+++ b/nptl/tst-cancel4-common.c
@@ -20,7 +20,7 @@
 static int
 do_test (void)
 {
-  if (socketpair (AF_UNIX, SOCK_STREAM, PF_UNIX, fds) != 0)
+  if (socketpair (AF_UNIX, SOCK_STREAM, 0, fds) != 0)
     {
       perror ("socketpair");
       exit (1);