summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/mips/vfork.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/mips/vfork.S')
-rw-r--r--libc/sysdeps/linux/mips/vfork.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/mips/vfork.S b/libc/sysdeps/linux/mips/vfork.S
index b30744759..00cc675fa 100644
--- a/libc/sysdeps/linux/mips/vfork.S
+++ b/libc/sysdeps/linux/mips/vfork.S
@@ -84,6 +84,7 @@ NESTED(__vfork,FRAMESZ,sp)
/* Something bad happened -- no child created. */
L(error):
+ move a0, v0
#ifdef __PIC__
PTR_LA t9, __syscall_error
RESTORE_GP64