diff options
Diffstat (limited to 'setjmp')
-rw-r--r-- | setjmp/tst-setjmp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/setjmp/tst-setjmp.c b/setjmp/tst-setjmp.c index 90dac05..c1efca5 100644 --- a/setjmp/tst-setjmp.c +++ b/setjmp/tst-setjmp.c @@ -113,5 +113,6 @@ main (void) puts ("Test FAILED!"); else puts ("Test succeeded!"); - exit (lose ? EXIT_FAILURE : EXIT_SUCCESS); + + return lose ? EXIT_FAILURE : EXIT_SUCCESS; } |