summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-06-24 00:34:57 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-17 23:50:18 +0200
commit9e2a6800fb8d24275048192900c3d9d2b54614e6 (patch)
tree79165cc440ac73251dfbd9eb2bb0810a8d31aa39
parentc47dc8d64319e2d7afa4345588896e9d2a1d7e66 (diff)
2002-06-23 Roland McGrath <roland@frob.com>
* ipc/mach_port.c (mach_port_insert_right): Type fiddle in argument passing.
-rw-r--r--ipc/mach_port.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ipc/mach_port.c b/ipc/mach_port.c
index e2ce4171..80b556a9 100644
--- a/ipc/mach_port.c
+++ b/ipc/mach_port.c
@@ -1310,7 +1310,8 @@ mach_port_insert_right(
if (!IP_VALID(poly))
return KERN_INVALID_CAPABILITY;
- return ipc_object_copyout_name(space, poly, polyPoly, FALSE, name);
+ return ipc_object_copyout_name(space, &poly->ip_target.ipt_object,
+ polyPoly, FALSE, name);
}
/*