From 53a5960aadd542dd27b8705ac30df154557d5ffc Mon Sep 17 00:00:00 2001 From: pbrook Date: Sat, 25 Mar 2006 19:31:22 +0000 Subject: Avoid accessing guest memory directly in usermode emulation. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1790 c046a42c-6fe2-441c-8c8c-71466251a162 --- linux-user/ioctls.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux-user/ioctls.h') diff --git a/linux-user/ioctls.h b/linux-user/ioctls.h index daefaec6f9..dae3efaa97 100644 --- a/linux-user/ioctls.h +++ b/linux-user/ioctls.h @@ -55,7 +55,7 @@ IOCTL(KDMKTONE, 0, TYPE_INT) IOCTL(KDGKBTYPE, IOC_R, MK_PTR(TYPE_CHAR)) IOCTL(KDGKBENT, IOC_RW, MK_PTR(MK_STRUCT(STRUCT_kbentry))) - IOCTL(KDGKBSENT, IOC_RW, TYPE_PTRVOID) + IOCTL(KDGKBSENT, IOC_RW, MK_PTR(MK_STRUCT(STRUCT_kbsentry))) IOCTL(BLKROSET, IOC_W, MK_PTR(TYPE_INT)) IOCTL(BLKROGET, IOC_R, MK_PTR(TYPE_INT)) -- cgit v1.2.3