about summary refs log tree commit diff
path: root/nptl/tst-exit1.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/tst-exit1.c')
-rw-r--r--nptl/tst-exit1.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/nptl/tst-exit1.c b/nptl/tst-exit1.c
index 0081f32c2e..44175f76c6 100644
--- a/nptl/tst-exit1.c
+++ b/nptl/tst-exit1.c
@@ -24,8 +24,6 @@
 #include <stdio.h>
 #include <stdlib.h>
 
-#define N 20
-
 static pthread_barrier_t b;
 
 
@@ -46,7 +44,7 @@ tf (void *arg)
 static int
 do_test (void)
 {
-  if (pthread_barrier_init (&b, NULL, N + 1) != 0)
+  if (pthread_barrier_init (&b, NULL, 2) != 0)
     {
       puts ("barrier_init failed");
       exit (1);