summaryrefslogtreecommitdiffstats
path: root/src/H5.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5.c')
-rw-r--r--src/H5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5.c b/src/H5.c
index 7ebda45..4d6d113 100644
--- a/src/H5.c
+++ b/src/H5.c
@@ -74,7 +74,7 @@ herr_t H5_init_library(void)
/* Install atexit() library cleanup routine */
if(install_atexit_g==TRUE)
- if (atexit(&H5_term_library) != 0)
+ if (HDatexit(&H5_term_library) != 0)
HRETURN_ERROR(H5E_FUNC, H5E_CANTINIT, FAIL);
FUNC_LEAVE (SUCCEED);