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 90dac0585c..c1efca5410 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; } |