libc: pthread: fix pthread_unmap_exit calling the wrong syscall

This commit is contained in:
2026-04-01 18:49:13 +01:00
parent 40682810ab
commit 0a231d2179
@@ -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