]> granicus.if.org Git - strace/commit
tests/remap_file_pages.c: fix for the upcoming change of xlat.val type
authorDmitry V. Levin <ldv@altlinux.org>
Thu, 28 Apr 2016 21:10:59 +0000 (21:10 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Thu, 28 Apr 2016 21:14:54 +0000 (21:14 +0000)
commit909e664a2e2c89a5a7aac7c19c7a8124700f1faa
tree8c832e8615ae7f61f41a95d6eaff3e464bbc9972
parent00beed61a43e042a37bcfbda71ed21d1e4918716
tests/remap_file_pages.c: fix for the upcoming change of xlat.val type

The "flags" argument of remap_file_page syscall has type "unsigned
long", so it is not correct to load most significant bits with garbage
ans assume they are going to be ignored.

* tests/remap_file_pages.c (main): Remove artificial garbage from flags.
tests/remap_file_pages.c