Fix incorrect pthread PID

This commit is contained in:
Jeremy Soller
2023-01-12 08:12:40 -07:00
parent ba87e4893a
commit 073f1e3e05
+1 -1
View File
@@ -82,7 +82,7 @@ pub unsafe fn pte_clone_impl(stack: *mut usize) -> Result<usize> {
syscall::kill(new_pid, SIGCONT)?;
let _ = syscall::waitpid(new_pid, &mut 0, syscall::WUNTRACED | syscall::WCONTINUED);
Ok(0)
Ok(new_pid)
}
extern "C" {