From 196980f5117c8d38f10d64bf67eeb0924651675f Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 6 Dec 1995 00:14:32 +0000 Subject: Updated from ../gpl2lgpl.sed /home/gd/gnu/lib/error.c --- sysdeps/mach/hurd/ioctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sysdeps/mach/hurd/ioctl.c') 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 -- cgit 1.4.1