summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2019-08-27 20:28:55 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2019-08-27 20:28:55 (GMT)
commit477bd6cd77d931bffaaed707fd1f4d43f19d44ab (patch)
tree8603197ecba1650618bd4888aa6787204e60daff /src
parent89928e7c212a718e3d85d106733e415b7fb52d8c (diff)
parent7dfe1769248d7f05ded66b4c6b78cb0be5ebee52 (diff)
downloadhdf5-477bd6cd77d931bffaaed707fd1f4d43f19d44ab.zip
hdf5-477bd6cd77d931bffaaed707fd1f4d43f19d44ab.tar.gz
hdf5-477bd6cd77d931bffaaed707fd1f4d43f19d44ab.tar.bz2
Merge branch 'develop_minor_pr' into H5Pset_fapl_mpi
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;