diff options
Diffstat (limited to 'winsup/cygwin/posix_ipc.cc')
-rw-r--r-- | winsup/cygwin/posix_ipc.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/posix_ipc.cc b/winsup/cygwin/posix_ipc.cc index 2ed38fb23..7bcc38087 100644 --- a/winsup/cygwin/posix_ipc.cc +++ b/winsup/cygwin/posix_ipc.cc @@ -209,14 +209,14 @@ public: fl.l_whence = SEEK_SET; fl.l_start = 0; fl.l_len = size; - return fcntl (fd, F_SETLKW, &fl); + return fcntl64 (fd, F_SETLKW, &fl); } int unlock (int fd) { if (!fl.l_len) return 0; fl.l_type = F_UNLCK; - return fcntl (fd, F_SETLKW, &fl); + return fcntl64 (fd, F_SETLKW, &fl); } }; |