aboutsummaryrefslogtreecommitdiff
path: root/nptl/tst-mutex5.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/tst-mutex5.c')
-rw-r--r--nptl/tst-mutex5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/tst-mutex5.c b/nptl/tst-mutex5.c
index 2ade6a7f83..7c414bc339 100644
--- a/nptl/tst-mutex5.c
+++ b/nptl/tst-mutex5.c
@@ -139,7 +139,7 @@ do_test (void)
if (tv2.tv_sec > 0 || tv2.tv_usec > 100000)
{
puts ("3rd timedlock didn't return right away");
- exit (1);
+ return 1;
}
if (pthread_mutex_destroy (&m) != 0)