about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/ioctl.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-12-06 00:14:32 +0000
committerRoland McGrath <roland@gnu.org>1995-12-06 00:14:32 +0000
commit196980f5117c8d38f10d64bf67eeb0924651675f (patch)
tree4e2a731a1f766ee63e1038d7f38bee3db8c78a2c /sysdeps/mach/hurd/ioctl.c
parent77a58cad3fa0a286bd2581187a2463a762d711ba (diff)
downloadglibc-196980f5117c8d38f10d64bf67eeb0924651675f.tar.gz
glibc-196980f5117c8d38f10d64bf67eeb0924651675f.tar.xz
glibc-196980f5117c8d38f10d64bf67eeb0924651675f.zip
Updated from ../gpl2lgpl.sed /home/gd/gnu/lib/error.c
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