linux-user: Fix incorrect TARGET_BLKBSZGET, TARGET_BLKBSZSET
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 23 Jul 2012 08:05:20 +0000 (08:05 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 13 Aug 2012 11:45:24 +0000 (12:45 +0100)
commitc8b0bf545631b55f9e8288252a7b026a97872dd3
tree83440ee6956666e3382b33ccb916fa68441e2165
parent33e95c6328a3149a52615176617997c4f8f7088b
linux-user: Fix incorrect TARGET_BLKBSZGET, TARGET_BLKBSZSET

The definitions for the ioctl numbers TARGET_BLKBSZGET and
TARGET_BLKBSZSET had the wrong size parameters (they are defined
with size_t, not int, even though the ioctl implementations themselves
read and write integers). Since commit 354a0008 we now have an
ioctl wrapper definition for BLKBSZGET and so on an x86-64-to-x86-64
linux-user binary we were triggering the mismatch warning in
syscall_init().

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
linux-user/syscall_defs.h