about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-04-14 21:45:26 -0400
committerRich Felker <dalias@aerifal.cx>2011-04-14 21:45:26 -0400
commitace973637f5b38a02ac2699e38f282372042bf7c (patch)
treedd18b8636bc442fdea8ab0c75264c5728817cd76
parentb172dc8b58a5db37d61cb4718cd42628126710f1 (diff)
downloadmusl-ace973637f5b38a02ac2699e38f282372042bf7c.tar.gz
musl-ace973637f5b38a02ac2699e38f282372042bf7c.tar.xz
musl-ace973637f5b38a02ac2699e38f282372042bf7c.zip
fix broken fcntl locks on x86_64
-rw-r--r--arch/x86_64/bits/fcntl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86_64/bits/fcntl.h b/arch/x86_64/bits/fcntl.h
index 2487a308..30fa2934 100644
--- a/arch/x86_64/bits/fcntl.h
+++ b/arch/x86_64/bits/fcntl.h
@@ -39,9 +39,9 @@
 #define F_SETOWN 8
 #define F_GETOWN 9
 
-#define F_GETLK 12
-#define F_SETLK 13
-#define F_SETLKW 14
+#define F_GETLK 5
+#define F_SETLK 6
+#define F_SETLKW 7
 
 #define FD_CLOEXEC 1