summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libc/sysdeps/linux/m68k/bits/syscalls.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/m68k/bits/syscalls.h b/libc/sysdeps/linux/m68k/bits/syscalls.h
index 777ff70c3..05bc7b675 100644
--- a/libc/sysdeps/linux/m68k/bits/syscalls.h
+++ b/libc/sysdeps/linux/m68k/bits/syscalls.h
@@ -188,7 +188,7 @@ type name(atype a, btype b, ctype c, dtype d, etype e, ftype f) \
"a" ((long)b), \
"a" ((long)c), \
"a" ((long)d), \
- "a" ((long)e), \
+ "g" ((long)e), \
"g" ((long)f) \
: "cc", "%d0", "%d1", "%d2", "%d3", \
"%d4", "%d5", "%a0"); \