]> granicus.if.org Git - strace/commit
tests/mlock2.c: fix test failure on mips64
authorDmitry V. Levin <ldv@altlinux.org>
Wed, 10 Aug 2016 22:59:28 +0000 (22:59 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Thu, 11 Aug 2016 11:18:56 +0000 (11:18 +0000)
commit0bc735e5aa4bd34aa73c12b6d3ba01f79591853e
treefe33fd58ac3ca8996a95d1d7ca288f8d3e3b8021
parent6a2f43ce6469c06d0244a07cea3d04f3740a66ce
tests/mlock2.c: fix test failure on mips64

* tests/mlock2.c (main): Pass unsigned long arguments to mlock2 syscall
explicitly, to avoid unwanted sign extension issues.

Based on patch by James Cowgill <james410@cowgill.org.uk>
tests/mlock2.c