]> granicus.if.org Git - strace/commitdiff
xlat: fix F_* fallback definitions on mips64
authorDmitry V. Levin <ldv@altlinux.org>
Sun, 6 May 2018 23:28:24 +0000 (23:28 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Sun, 6 May 2018 23:28:24 +0000 (23:28 +0000)
* xlat/fcntlcmds.in (F_GETLK64, F_SETLK64, F_SETLKW64) [__mips64]: Fix
default values.

Fixes: v4.22-122-gfa8f486 ("xlat: fix F_* fallback definitions on alpha, hppa, mips, and sparc")
xlat/fcntlcmds.in

index 3fceea2eaf4f597b1f4fb94b7b786c484dc974fd..5602e6fff03d7a04c282c57bd5b65c03f738a932 100644 (file)
@@ -50,7 +50,7 @@ F_GETSIG      11
 F_GETLK64      8
 F_SETLK64      9
 F_SETLKW64     10
-#elif defined __mips__
+#elif defined __mips__ && !defined __mips64
 F_GETLK64      33
 F_SETLK64      34
 F_SETLKW64     35