diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/sparc/sparc32/clone.S')
-rw-r--r-- | sysdeps/unix/sysv/linux/sparc/sparc32/clone.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S b/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S index e053569650..e40ee32706 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S +++ b/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S @@ -44,7 +44,7 @@ __clone: mov %i2,%o0 set __NR_clone,%g1 ta 0x10 - bcs __clone_syscall_error + bcs .Lerror tst %o1 bne __thread_start nop @@ -54,7 +54,7 @@ __clone: .Lerror: call __errno_location - set EINVAL,%i0 + or %g0,EINVAL,%i0 st %i0,[%o0] mov -1,%i0 ret |