]> git.proxmox.com Git - qemu.git/commit
linux-user: fix BLK ioctl arguments
authorAlexander Graf <agraf@suse.de>
Tue, 31 Jan 2012 19:10:20 +0000 (20:10 +0100)
committerRiku Voipio <riku.voipio@linaro.org>
Fri, 6 Apr 2012 15:49:58 +0000 (18:49 +0300)
commitedafea1330133eb8f6580a1c4f84fc5ec766eb4c
tree73b9e0259df27defe4732c29d85afab29f6f448f
parent6083abd9aa134c9b0804e584f8279f54e6c90a1c
linux-user: fix BLK ioctl arguments

Some BLK ioctls passed sizeof(x) into a macro that already did sizeof() on
the passed in argument, rendering the size information inside the ioctl be
the size of the host default integer type.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
linux-user/syscall_defs.h