diff --git a/src/H5FDdirect.c b/src/H5FDdirect.c index ef5fe1299a8..4a209c0a5a7 100644 --- a/src/H5FDdirect.c +++ b/src/H5FDdirect.c @@ -201,7 +201,7 @@ H5FD__init_package(void) char *lock_env_var = NULL; /* Environment variable pointer */ herr_t ret_value = SUCCEED; - FUNC_ENTER_STATIC + FUNC_ENTER_PACKAGE /* Check the use disabled file locks environment variable */ lock_env_var = getenv(HDF5_USE_FILE_LOCKING);