summaryrefslogtreecommitdiffstats
path: root/test/links.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/links.c')
-rw-r--r--test/links.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/links.c b/test/links.c
index a91186b..af35d0c 100644
--- a/test/links.c
+++ b/test/links.c
@@ -22942,7 +22942,7 @@ main(void)
/* Results */
if (nerrors) {
printf("***** %d LINK TEST%s FAILED! *****\n", nerrors, 1 == nerrors ? "" : "S");
- HDexit(EXIT_FAILURE);
+ exit(EXIT_FAILURE);
}
printf("All link tests passed.\n");
@@ -22954,9 +22954,9 @@ main(void)
HDrmdir(TMPDIR);
HDrmdir(TMPDIR2);
- HDexit(EXIT_SUCCESS);
+ exit(EXIT_SUCCESS);
error:
HDputs("*** TESTS FAILED ***");
- HDexit(EXIT_FAILURE);
+ exit(EXIT_FAILURE);
} /* end main() */