aboutsummaryrefslogtreecommitdiff
path: root/ipc/ipc_entry.c
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/ipc_entry.c')
-rw-r--r--ipc/ipc_entry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipc/ipc_entry.c b/ipc/ipc_entry.c
index c24ea46c..f13c442f 100644
--- a/ipc/ipc_entry.c
+++ b/ipc/ipc_entry.c
@@ -127,7 +127,7 @@ ipc_entry_alloc_name(
kern_return_t kr;
ipc_entry_t entry, e, *prevp;
void **slot;
- assert(MACH_PORT_VALID(name));
+ assert(MACH_PORT_NAME_VALID(name));
if (!space->is_active) {
return KERN_INVALID_TASK;