]> git.saurik.com Git - apple/xnu.git/blobdiff - libsyscall/custom/__getpid.s
xnu-4903.270.47.tar.gz
[apple/xnu.git] / libsyscall / custom / __getpid.s
index a048f48aaac12b73c7c37f23ed6db2e946d1aaa7..a8daa7398196cf16cbfd00cb973c4511bdda11ad 100644 (file)
@@ -159,7 +159,7 @@ MI_ENTRY_POINT(___getpid)
        MI_GET_ADDRESS(x9, __current_pid)       // Get address of cached value
        ldr             w0, [x9]                                        // Load it
        cmp             w0, #0                                          // See if there's a cached value
-       b.ls    L_notcached                                     // If not, make syscall
+       b.le    L_notcached                                     // If not, make syscall
        ret                                                                     // Else, we're done
 L_notcached:
        SYSCALL_NONAME(getpid, 0, cerror_nocancel)