-#define UNIX_SYSCALL_NONAME(name, nargs, cerror) \
- .globl cerror ;\
- movl $ SYSCALL_CONSTRUCT_UNIX(SYS_##name), %eax ;\
- UNIX_SYSCALL_SYSCALL ;\
- jnb 2f ;\
- BRANCH_EXTERN(cerror) ;\
+#define UNIX_SYSCALL_NONAME(name, nargs, cerror) \
+ .globl cerror ;\
+ movl $ SYSCALL_CONSTRUCT_UNIX(SYS_##name), %eax ;\
+ UNIX_SYSCALL_SYSCALL ;\
+ jnb 2f ;\
+ movq %rax, %rdi ;\
+ BRANCH_EXTERN(_##cerror) ;\