diff options
Diffstat (limited to 'ipc/ipc_port.c')
-rw-r--r-- | ipc/ipc_port.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ipc/ipc_port.c b/ipc/ipc_port.c index c8bc0fb9..f9ccc290 100644 --- a/ipc/ipc_port.c +++ b/ipc/ipc_port.c @@ -1024,12 +1024,12 @@ ipc_port_copyout_send( ipc_port_release_send(sright); if (kr == KERN_INVALID_CAPABILITY) - name = MACH_PORT_DEAD; + name = MACH_PORT_NAME_DEAD; else - name = MACH_PORT_NULL; + name = MACH_PORT_NAME_NULL; } } else - name = (mach_port_name_t) sright; + name = invalid_port_to_name((mach_port_t)sright); return name; } |