summaryrefslogtreecommitdiffstats
path: root/test/objcopy_ref.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/objcopy_ref.c')
-rw-r--r--test/objcopy_ref.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/objcopy_ref.c b/test/objcopy_ref.c
index eac44bb..de78bed 100644
--- a/test/objcopy_ref.c
+++ b/test/objcopy_ref.c
@@ -1972,7 +1972,7 @@ main(void)
/* Results */
if (nerrors) {
printf("***** %d OBJECT COPY TEST%s FAILED! *****\n", nerrors, (1 == nerrors ? "" : "S"));
- HDexit(EXIT_FAILURE);
+ exit(EXIT_FAILURE);
} /* end if */
HDputs("All object copying tests passed.");
@@ -2002,8 +2002,8 @@ main(void)
h5_cleanup(FILENAME, fapl);
- HDexit(EXIT_SUCCESS);
+ exit(EXIT_SUCCESS);
error:
- HDexit(EXIT_FAILURE);
+ exit(EXIT_FAILURE);
} /* main */