Skip to content

Commit f6482e7

Browse files
87/11: Fix argument of exit
1 parent 9f21092 commit f6482e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/regression/87-once/11-combination.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ void* thread(void* arg) {
2121
// Also showing that g is not NULL here requires "Extended Support for pthread once" as explained in appendix C.
2222
// It was added manually here so we can show off that at the end we can exclude the in initial value even
2323
// though main didn't write
24-
exit();
24+
exit(42);
2525
}
2626
*g = 4711; //NORACE
2727
pthread_mutex_unlock(&mtx);

0 commit comments

Comments
 (0)