diff options
Diffstat (limited to 'src/H5.c')
-rw-r--r-- | src/H5.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -235,7 +235,7 @@ H5_init_thread(void) FUNC_ENTER_INIT(H5_init_thread, NULL, FAIL); /* Add the "thread termination" routine to the exit chain */ - if (H5_add_exit(&H5_term_thread) == FAIL) + if (H5_add_exit(&H5_term_thread)<0) HRETURN_ERROR(H5E_FUNC, H5E_CANTINIT, FAIL, "unable to set thread atexit function"); |