summaryrefslogtreecommitdiff
path: root/sysdeps/mach/hurd/ioctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/ioctl.c')
-rw-r--r--sysdeps/mach/hurd/ioctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/mach/hurd/ioctl.c b/sysdeps/mach/hurd/ioctl.c
index 7c58270f55..acc34fa916 100644
--- a/sysdeps/mach/hurd/ioctl.c
+++ b/sysdeps/mach/hurd/ioctl.c
@@ -175,8 +175,8 @@ DEFUN(__ioctl, (fd, request),
{
/* The RPC takes a single integer_t argument.
Rather than pointing to the value, ARG is the value itself. */
- *t++ = io2mach_type (_IOTS (integer_t));
- *((integer_t *) t)++ = (integer_t) arg;
+ *t++ = io2mach_type (1, _IOTS (int));
+ *((int *) t)++ = (int) arg;
}
/* Compute the expected size of the reply. There is a standard header