diff options
author | Brian Gianforcaro <b.gianfo@gmail.com> | 2020-08-05 00:11:56 -0700 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-08-05 09:36:53 +0200 |
commit | 7490ea944946f5a9405c20f86fc22bb9014ba07e (patch) | |
tree | 54623b0cf5242457a8416999ec8def6e925f0efd /Libraries/LibPthread/pthread.cpp | |
parent | 337e8f98cdc0591476ec6b202cff6413c5902e6a (diff) | |
download | serenity-7490ea944946f5a9405c20f86fc22bb9014ba07e.zip |
Kernel + LibPthread: Use Userspace<T> in the create_thread syscall
Diffstat (limited to 'Libraries/LibPthread/pthread.cpp')
-rw-r--r-- | Libraries/LibPthread/pthread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibPthread/pthread.cpp b/Libraries/LibPthread/pthread.cpp index f3a17849b6..ebf50f78c8 100644 --- a/Libraries/LibPthread/pthread.cpp +++ b/Libraries/LibPthread/pthread.cpp @@ -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; |