summaryrefslogtreecommitdiffstats
path: root/test/testhdf5.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/testhdf5.c')
-rw-r--r--test/testhdf5.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/testhdf5.c b/test/testhdf5.c
index 711c9dc..82bc2b6 100644
--- a/test/testhdf5.c
+++ b/test/testhdf5.c
@@ -89,7 +89,7 @@ main(int argc, char *argv[])
/* Exit failure if errors encountered; else exit success. */
/* No need to print anything since PerformTests() already does. */
if (GetTestNumErrs() > 0)
- HDexit(EXIT_FAILURE);
+ exit(EXIT_FAILURE);
else
- HDexit(EXIT_SUCCESS);
+ exit(EXIT_SUCCESS);
} /* end main() */