summaryrefslogtreecommitdiff
path: root/tests/exit1.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/exit1.c')
-rw-r--r--tests/exit1.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/exit1.c b/tests/exit1.c
index 2f31383..758852a 100644
--- a/tests/exit1.c
+++ b/tests/exit1.c
@@ -10,5 +10,8 @@ int
main(int argc, char * argv[])
{
/* A simple test firstly. */
- pthread_exit((void *) 2);
+ pthread_exit((void *) 0);
+
+ /* Not reached */
+ return 1;
}