summaryrefslogtreecommitdiff
path: root/ipc/ipc_pset.c
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/ipc_pset.c')
-rw-r--r--ipc/ipc_pset.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/ipc/ipc_pset.c b/ipc/ipc_pset.c
index 884e8972..30c12a2b 100644
--- a/ipc/ipc_pset.c
+++ b/ipc/ipc_pset.c
@@ -69,11 +69,11 @@
kern_return_t
ipc_pset_alloc(
ipc_space_t space,
- mach_port_t *namep,
+ mach_port_name_t *namep,
ipc_pset_t *psetp)
{
ipc_pset_t pset;
- mach_port_t name;
+ mach_port_name_t name;
kern_return_t kr;
kr = ipc_object_alloc(space, IOT_PORT_SET,
@@ -107,13 +107,12 @@ ipc_pset_alloc(
kern_return_t
ipc_pset_alloc_name(
ipc_space_t space,
- mach_port_t name,
+ mach_port_name_t name,
ipc_pset_t *psetp)
{
ipc_pset_t pset;
kern_return_t kr;
-
kr = ipc_object_alloc_name(space, IOT_PORT_SET,
MACH_PORT_TYPE_PORT_SET, 0,
name, (ipc_object_t *) &pset);