summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/m68k/clone.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/m68k/clone.S')
-rw-r--r--libc/sysdeps/linux/m68k/clone.S8
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/m68k/clone.S b/libc/sysdeps/linux/m68k/clone.S
index 731587db4..f2e0122da 100644
--- a/libc/sysdeps/linux/m68k/clone.S
+++ b/libc/sysdeps/linux/m68k/clone.S
@@ -23,11 +23,11 @@ __clone:
movel 4(%sp), %d1 /* no NULL function pointers */
movel %d1, %a0
tstl %d1
- beq.w syscall_error
+ beq.w __syscall_error
movel 8(%sp), %d1 /* no NULL stack pointers */
movel %d1, %a1
tstl %d1
- beq.w syscall_error
+ beq.w __syscall_error
/* Allocate space and copy the argument onto the new stack. */
movel 16(%sp), -(%a1)
@@ -52,12 +52,12 @@ __clone:
#endif
tstl %d0
- bmi.w syscall_error
+ bmi.w __syscall_error
beq.w thread_start
rts
-syscall_error:
+__syscall_error:
negl %d0
movel %d0, %sp@-
lea __errno_location-.-8, %a0