mirror of
https://github.com/RGBCube/serenity
synced 2025-05-15 09:44:58 +00:00
Kernel + LibPthread: Use Userspace<T> in the create_thread syscall
This commit is contained in:
parent
337e8f98cd
commit
7490ea9449
4 changed files with 6 additions and 6 deletions
|
@ -383,7 +383,7 @@ int pthread_attr_getstack(const pthread_attr_t* attributes, void** p_stack_ptr,
|
|||
if (!attributes_impl || !p_stack_ptr || !p_stack_size)
|
||||
return EINVAL;
|
||||
|
||||
*p_stack_ptr = attributes_impl->m_stack_location;
|
||||
*p_stack_ptr = attributes_impl->m_stack_location.ptr();
|
||||
*p_stack_size = attributes_impl->m_stack_size;
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue