Formerly sysdeps/mach/hurd/__ioctl.c.~22~
authorroland <roland>
Tue, 7 Jun 1994 02:55:10 +0000 (02:55 +0000)
committerroland <roland>
Tue, 7 Jun 1994 02:55:10 +0000 (02:55 +0000)
sysdeps/mach/hurd/ioctl.c

index 1be2b16..f8f11c8 100644 (file)
@@ -59,7 +59,7 @@ DEFUN(__ioctl, (fd, request),
                _IOT_COUNT2 (type) * (_IOT_TYPE2 (request) << 1)];
     } msg;
   mach_msg_header_t *const m = &msg.header.Head;
-  mach_msg_type_t *t = (mach_msg_type_t *) msg.data;
+  mach_msg_type_t *t = &msg.header.RetCodeType;
   mach_msg_id_t msgid;
   unsigned int reply_size;