summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/i960
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/i960')
-rw-r--r--libc/sysdeps/linux/i960/clone.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/i960/clone.S b/libc/sysdeps/linux/i960/clone.S
index e6d504bb7..c6c0dc73a 100644
--- a/libc/sysdeps/linux/i960/clone.S
+++ b/libc/sysdeps/linux/i960/clone.S
@@ -44,11 +44,11 @@ __clone:
calls 0
/* Do the system call */
- cmpibg 0, g0, syscall_error /* if < 0, error */
+ cmpibg 0, g0, __syscall_error /* if < 0, error */
be thread_start /* if == 0, we're the child */
ret /* we're the parent */
-syscall_error:
+__syscall_error:
not g0, r3
callx ___errno_location
st r3, (g0)