linux-user: Fix type for SIOCATMARK ioctl
commita57f1f8f52aec5c83e63ddf274fd18e2eece5f2b
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 15 Jul 2016 11:09:31 +0000 (15 12:09 +0100)
committerRiku Voipio <riku.voipio@linaro.org>
Tue, 19 Jul 2016 13:18:11 +0000 (19 16:18 +0300)
treef81e38c16c999df036d630bb1cbcd6113ddef068
parent74642d091a9e7d5ece11ced18193e1f37d7e0553
linux-user: Fix type for SIOCATMARK ioctl

The SIOCATMARK ioctl takes an argument which should be a
pointer to an integer where the kernel will write the result.
We were incorrectly declaring it as TYPE_NULL which would mean
it would always fail (with EFAULT) when it should succeed.
Correct the type.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
linux-user/ioctls.h