From d42de626b604b75963fd593a145fd9c9b9e20602 Mon Sep 17 00:00:00 2001 From: Dana Robinson Date: Tue, 27 Aug 2019 07:03:51 -0700 Subject: Fixed a bug where we incorrectly pass a lock struct to fcntl for file locking instead of a pointer. --- src/H5system.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v0.12