diff options
Diffstat (limited to 'winsup/cygwin/fcntl.cc')
-rw-r--r-- | winsup/cygwin/fcntl.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/fcntl.cc b/winsup/cygwin/fcntl.cc index b3ec8dcf2..442686268 100644 --- a/winsup/cygwin/fcntl.cc +++ b/winsup/cygwin/fcntl.cc @@ -46,9 +46,9 @@ fcntl64 (int fd, int cmd, ...) case F_SETLK: case F_SETLKW: { - struct __flock64 *fl = (struct __flock64 *) arg; - fl->l_type &= F_RDLCK | F_WRLCK | F_UNLCK; - res = cfd->lock (cmd, fl); + struct __flock64 *fl = (struct __flock64 *) arg; + fl->l_type &= F_RDLCK | F_WRLCK | F_UNLCK; + res = cfd->lock (cmd, fl); } break; default: |