summaryrefslogtreecommitdiffstats
path: root/src/H5FDsec2.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2020-08-03 22:47:46 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2020-08-03 22:47:46 (GMT)
commitbd685b0e803e13a10243bd0e50fa01c5fceffc67 (patch)
treeb5f06c0d0b0172be19f32014c9caaa14001ba356 /src/H5FDsec2.c
parent6e7199250237518a7ad8e414d7f7f236b4912175 (diff)
downloadhdf5-bd685b0e803e13a10243bd0e50fa01c5fceffc67.zip
hdf5-bd685b0e803e13a10243bd0e50fa01c5fceffc67.tar.gz
hdf5-bd685b0e803e13a10243bd0e50fa01c5fceffc67.tar.bz2
Fixed missing parens in VFDs
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 f0ce82d..eee554a 100644
--- a/src/H5FDsec2.c
+++ b/src/H5FDsec2.c
@@ -203,7 +203,7 @@ H5FD__init_package(void)
lock_env_var = HDgetenv("HDF5_USE_FILE_LOCKING");
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"))
+ 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 */
else
ignore_disabled_file_locks_s = FAIL; /* Environment variable not set, or not set correctly */