aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/mips/sysdep.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/mips/sysdep.h b/sysdeps/unix/mips/sysdep.h
index 2ba1dea897..a5a3e5589e 100644
--- a/sysdeps/unix/mips/sysdep.h
+++ b/sysdeps/unix/mips/sysdep.h
@@ -40,7 +40,7 @@
ENTRY(name) \
.set noreorder; \
.cpload t9; \
- li v0, SYS_##syscall_name; \
+ li v0, SYS_ify(syscall_name); \
syscall; \
.set reorder; \
bne a3, zero, 99b; \
@@ -52,7 +52,7 @@ syse1:
99: j __syscall_error; \
ENTRY(name) \
.set noreorder; \
- li v0, SYS_##syscall_name; \
+ li v0, SYS_ify(syscall_name); \
syscall; \
.set reorder; \
bne a3, zero, 99b; \