summaryrefslogtreecommitdiff
path: root/sysdeps/mach/hurd/fcntl.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/fcntl.c')
-rw-r--r--sysdeps/mach/hurd/fcntl.c4
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: