about summary refs log tree commit diff
path: root/src/thread/x86_64
diff options
context:
space:
mode:
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 1894ce19..a36e8d1d 100644
--- a/src/thread/x86_64/syscall_cp.s
+++ b/src/thread/x86_64/syscall_cp.s
@@ -21,4 +21,4 @@ __syscall_cp_asm:
 	mov %rdi,8(%r10)
 	mov %rdi,(%r10)
 	dec %rdi
-	jmp pthread_exit
+	jmp __cancel