]> git.saurik.com Git - apple/libc.git/blobdiff - gen/nanosleep.c
Libc-1439.100.3.tar.gz
[apple/libc.git] / gen / nanosleep.c
index 71ad76c4434207ca28894aff757d6d00ea3a21fd..934707eefb81ddd96a735d693264d510bd3919e2 100644 (file)
@@ -52,7 +52,7 @@ void _init_clock_port(void) {
                abort();
        }
        
-       kr = semaphore_create(mach_task_self_, &clock_sem, SYNC_POLICY_FIFO, 0);
+       kr = semaphore_create(mach_task_self(), &clock_sem, SYNC_POLICY_FIFO, 0);
        if (kr != KERN_SUCCESS) {
                abort();
        }