summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorhdftest <hdftest@hdfgroup.org>2019-09-17 20:17:57 (GMT)
committerhdftest <hdftest@hdfgroup.org>2019-09-17 20:17:57 (GMT)
commitf93f47c9f783d1eb1f736bf671553d0c3bcdd45d (patch)
tree21506cb7eb42da9c0e65f87e259750203306ed10 /src
parentab45fbc81bd4b10d5191cf57f1d28bb8124fdd63 (diff)
parent406890277cbe92be1d68721a6fa115441ab1a726 (diff)
downloadhdf5-f93f47c9f783d1eb1f736bf671553d0c3bcdd45d.zip
hdf5-f93f47c9f783d1eb1f736bf671553d0c3bcdd45d.tar.gz
hdf5-f93f47c9f783d1eb1f736bf671553d0c3bcdd45d.tar.bz2
Merge branch 'hdf5_1_10' of ssh://bitbucket.hdfgroup.org:7999/~hdftest/hdf5_hft into hdf5_1_10
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;