summaryrefslogtreecommitdiff
path: root/sysdeps/unix/mips/wait.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/mips/wait.S')
-rw-r--r--sysdeps/unix/mips/wait.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/unix/mips/wait.S b/sysdeps/unix/mips/wait.S
index a544156c4e..9ea55bc7d0 100644
--- a/sysdeps/unix/mips/wait.S
+++ b/sysdeps/unix/mips/wait.S
@@ -28,14 +28,14 @@ ENTRY(__wait)
li v0, SYS_wait
syscall
- beq a3, zero, noerror
+ beqz a3, noerror
nop
- j syscall_error
+ j __syscall_error
nop
noerror:
/* If the arg is not NULL, store v1 there. */
- beq a0, zero, noarg
+ beqz a0, noarg
nop
sw v1, 0(a0)
nop