X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/6d2010ae8f7a6078e10b361c6962983bab233e0f..7e41aa883dd258f888d0470250eead40a53ef1f5:/libsyscall/custom/__ptrace.s diff --git a/libsyscall/custom/__ptrace.s b/libsyscall/custom/__ptrace.s index 9eae221f2..bdcbec9fb 100644 --- a/libsyscall/custom/__ptrace.s +++ b/libsyscall/custom/__ptrace.s @@ -36,7 +36,7 @@ LEAF(___ptrace, 0) xorl %eax,%eax REG_TO_EXTERN(%eax,_errno) -UNIX_SYSCALL_NONAME(ptrace, 4) + UNIX_SYSCALL_NONAME(ptrace, 4, cerror) ret #elif defined(__x86_64__) @@ -47,7 +47,7 @@ LEAF(___ptrace, 0) xorq %rax,%rax PICIFY(_errno) movl %eax,(%r11) -UNIX_SYSCALL_NONAME(ptrace, 4) + UNIX_SYSCALL_NONAME(ptrace, 4, cerror) ret #else