summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-09-17 19:43:30 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-09-17 19:43:30 (GMT)
commit7449e6a2c62ca5b7e38b4ba522f91cf117f4e027 (patch)
tree6823e4d76984134e219d0bab2054ebfc091a9827 /src
parent3fed3735dba9922e9b0ced19e995039bebd9c5d1 (diff)
parent406890277cbe92be1d68721a6fa115441ab1a726 (diff)
downloadhdf5-7449e6a2c62ca5b7e38b4ba522f91cf117f4e027.zip
hdf5-7449e6a2c62ca5b7e38b4ba522f91cf117f4e027.tar.gz
hdf5-7449e6a2c62ca5b7e38b4ba522f91cf117f4e027.tar.bz2
Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_10)
* commit '406890277cbe92be1d68721a6fa115441ab1a726': Fixed a bug where we incorrectly pass a lock struct to fcntl for file locking instead of a pointer. (HDFFV-10892)
Diffstat (limited to 'src')
-rw-r--r--src/H5system.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5system.c b/src/H5system.c
index 1d47d13..384360d 100644
--- a/src/H5system.c
+++ b/src/H5system.c
@@ -631,7 +631,7 @@ Pflock(int fd, int operation) {
flk.l_pid = 0; /* not used with set */
/* Lock or unlock */
- if(HDfcntl(fd, F_SETLK, flk) < 0)
+ if(HDfcntl(fd, F_SETLK, &flk) < 0)
return -1;
return 0;