summaryrefslogtreecommitdiffstats
path: root/src/H5FDsec2.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2020-08-06 22:09:59 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2020-08-06 22:09:59 (GMT)
commit47ad0ac7237b464e939fe54dd129a151944d9706 (patch)
tree5236c1baaefe2a4ec5e85e015595965d75283600 /src/H5FDsec2.c
parent7391f5f26c0893bb56e0d122c459e77796e2ed9b (diff)
downloadhdf5-47ad0ac7237b464e939fe54dd129a151944d9706.zip
hdf5-47ad0ac7237b464e939fe54dd129a151944d9706.tar.gz
hdf5-47ad0ac7237b464e939fe54dd129a151944d9706.tar.bz2
Renames BEST-EFFORT to BEST_EFFORT for file locking env var
Diffstat (limited to 'src/H5FDsec2.c')
-rw-r--r--src/H5FDsec2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5FDsec2.c b/src/H5FDsec2.c
index eee554a..12e107f 100644
--- a/src/H5FDsec2.c
+++ b/src/H5FDsec2.c
@@ -201,7 +201,7 @@ H5FD__init_package(void)
/* Check the use disabled file locks environment variable */
lock_env_var = HDgetenv("HDF5_USE_FILE_LOCKING");
- if(lock_env_var && !HDstrcmp(lock_env_var, "BEST-EFFORT"))
+ if(lock_env_var && !HDstrcmp(lock_env_var, "BEST_EFFORT"))
ignore_disabled_file_locks_s = TRUE; /* Override: Ignore disabled locks */
else if(lock_env_var && (!HDstrcmp(lock_env_var, "TRUE") || !HDstrcmp(lock_env_var, "1")))
ignore_disabled_file_locks_s = FALSE; /* Override: Don't ignore disabled locks */