summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/m68k/ptrace.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/m68k/ptrace.c')
-rw-r--r--libc/sysdeps/linux/m68k/ptrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/m68k/ptrace.c b/libc/sysdeps/linux/m68k/ptrace.c
index a82adc765..423be05e2 100644
--- a/libc/sysdeps/linux/m68k/ptrace.c
+++ b/libc/sysdeps/linux/m68k/ptrace.c
@@ -18,7 +18,7 @@ ptrace(int request, int pid, int addr, int data)
"trap #0\n\t"
"movel %/d0,%0"
:"=g" (res)
- :"i" (SYS_ptrace), "g" (request), "g" (pid),
+ :"i" (__NR_ptrace), "g" (request), "g" (pid),
"g" (addr), "g" (data) : "%d0", "%d1", "%d2", "%d3", "%d4");
if (res >= 0) {