diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2015-02-08 21:16:25 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2015-02-08 21:16:25 +0100 |
commit | d6c4cb95124a9d0a50ece695cb15c6fd84922d9a (patch) | |
tree | 536391b82ddd1700f95f3fe2122ac9b799c8f6bd /sysdeps/mach/hurd/fcntl.c | |
parent | 17b9d3a055ca896ab78346ecdf460591596db52a (diff) |
Fix wait inversion for 64bit case
Diffstat (limited to 'sysdeps/mach/hurd/fcntl.c')
-rw-r--r-- | sysdeps/mach/hurd/fcntl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/mach/hurd/fcntl.c b/sysdeps/mach/hurd/fcntl.c index bda478b702..076f2eaa71 100644 --- a/sysdeps/mach/hurd/fcntl.c +++ b/sysdeps/mach/hurd/fcntl.c @@ -161,10 +161,10 @@ __libc_fcntl (int fd, int cmd, ...) case F_GETLK64: errno = ENOSYS; return -1; - case F_SETLK64: + case F_SETLKW64: wait = 1; /* FALLTHROUGH */ - case F_SETLKW64: + case F_SETLK64: return __f_setlk (fd, fl->l_type, fl->l_whence, fl->l_start, fl->l_len, wait); default: |