aboutsummaryrefslogtreecommitdiff
path: root/lib/sys/syscalls.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sys/syscalls.h')
-rw-r--r--lib/sys/syscalls.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sys/syscalls.h b/lib/sys/syscalls.h
index 50e8a4f..4b1341a 100644
--- a/lib/sys/syscalls.h
+++ b/lib/sys/syscalls.h
@@ -7,7 +7,7 @@ __asm__ (
"mov %rsi, %rdi\n"
"mov %rdx, %rsi\n"
"mov %rcx, %rdx\n"
- "mov %r8, %rcx\n"
+ "mov %r8, %r10\n"
"mov %r9, %r8\n"
"mov 8(%rsp), %r9\n"
"syscall\n"