]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/kern/ipc_sync.c
xnu-7195.50.7.100.1.tar.gz
[apple/xnu.git] / osfmk / kern / ipc_sync.c
index cd1dd1afdcf0e2e3082bbcbe3631088b38b207eb..643c38fbb582f8bdbec3d7b84caba71a3d0cb08b 100644 (file)
@@ -140,7 +140,7 @@ convert_semaphore_to_port(semaphore_t semaphore)
         * semaphore_notify if this is the first send right
         */
        if (!ipc_kobject_make_send_lazy_alloc_port(&semaphore->port,
         * semaphore_notify if this is the first send right
         */
        if (!ipc_kobject_make_send_lazy_alloc_port(&semaphore->port,
-           (ipc_kobject_t) semaphore, IKOT_SEMAPHORE)) {
+           (ipc_kobject_t) semaphore, IKOT_SEMAPHORE, false, 0)) {
                semaphore_dereference(semaphore);
        }
        return semaphore->port;
                semaphore_dereference(semaphore);
        }
        return semaphore->port;