about summary refs log tree commit diff
path: root/src/thread/x86_64
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-04-17 19:25:17 -0400
committerRich Felker <dalias@aerifal.cx>2011-04-17 19:25:17 -0400
commit1bc44a473431228f5b46652740cb967a0de16e9e (patch)
tree9f69c7c4cf550154c00dd0e4b5012bb1686228e4 /src/thread/x86_64
parente98bdca9df8df791fe93ec8eec920fa8d14da1f5 (diff)
downloadmusl-1bc44a473431228f5b46652740cb967a0de16e9e.tar.gz
musl-1bc44a473431228f5b46652740cb967a0de16e9e.tar.xz
musl-1bc44a473431228f5b46652740cb967a0de16e9e.zip
fix typo in x86_64 cancellable syscall asm
Diffstat (limited to 'src/thread/x86_64')
-rw-r--r--src/thread/x86_64/syscall_cp.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread/x86_64/syscall_cp.s b/src/thread/x86_64/syscall_cp.s
index 8b250488..9727ad3d 100644
--- a/src/thread/x86_64/syscall_cp.s
+++ b/src/thread/x86_64/syscall_cp.s
@@ -19,7 +19,7 @@ __syscall_cp_asm:
 	mov %r11,8(%rsp)
 1:	syscall
 	xor %ecx,%ecx
-	mov 8(%rsp),%edi
+	mov 8(%rsp),%rdi
 	mov %rcx,(%rdi)
 	ret
 2:	call __cancel