libc: pthread: fix pthread_unmap_exit calling the wrong syscall
This commit is contained in:
@@ -23,7 +23,7 @@ __pthread_unmap_exit:
|
|||||||
syscall
|
syscall
|
||||||
|
|
||||||
/* next, close the handle to the address space */
|
/* next, close the handle to the address space */
|
||||||
mov $SYS_THREAD_EXIT, %rax
|
mov $SYS_KERN_HANDLE_CLOSE, %rax
|
||||||
mov %rbx, %rdi
|
mov %rbx, %rdi
|
||||||
syscall
|
syscall
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user