]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/kern/ipc_misc.c
xnu-7195.101.1.tar.gz
[apple/xnu.git] / osfmk / kern / ipc_misc.c
index aaec28a5d4bd71b835a908f84ff61d0461085519..6e7638f5e5d7bf9c2f0aee2e87f74d6393992ddb 100644 (file)
@@ -156,7 +156,7 @@ fileport_invoke(task_t task, mach_port_name_t name,
 
        kr = ipc_object_copyin(task->itk_space, name,
            MACH_MSG_TYPE_COPY_SEND, (ipc_object_t *)&fileport, 0, NULL,
-           IPC_KMSG_FLAGS_ALLOW_IMMOVABLE_SEND);
+           IPC_OBJECT_COPYIN_FLAGS_ALLOW_IMMOVABLE_SEND);
        if (kr != KERN_SUCCESS) {
                return kr;
        }