]> granicus.if.org Git - strace/commit
tests: fix preadv2-pwritev2 test on x32
authorEugene Syromyatnikov <evgsyr@gmail.com>
Mon, 19 Dec 2016 21:32:40 +0000 (00:32 +0300)
committerEugene Syromyatnikov <evgsyr@gmail.com>
Mon, 19 Dec 2016 21:32:40 +0000 (00:32 +0300)
commit5451e9ffa6e999379f38ceec903801edcef3427a
tree0816bc4641ae59c65c4310c0197fe7905daf8fd7
parent8e4c657a9de3b10204b689adec92c7bd11c98a64
tests: fix preadv2-pwritev2 test on x32

On x32 p(read|write)v(|2) syscalls are implemented via compat, which
truncates len argument to unsigned int.

* tests/preadv2-pwritev2.c (main): Print vlen argument as unsigned long.
tests/preadv2-pwritev2.c