diff options
author | Jari Vetoniemi <mailroxas@gmail.com> | 2018-02-27 14:18:05 +0200 |
---|---|---|
committer | Jari Vetoniemi <mailroxas@gmail.com> | 2018-02-27 14:18:05 +0200 |
commit | e3e744ef51dcee7fa364bc70bafb251e6c2f88d6 (patch) | |
tree | db4a17783bb2d7754966b98b93d720eb2f0e428a /src | |
parent | 6a30d17dc0cd210e31ab4f95d20327e5478d1948 (diff) |
pthread: Fix getattr_np
Diffstat (limited to 'src')
-rw-r--r-- | src/libpthread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libpthread.c b/src/libpthread.c index 2508143..16cb57f 100644 --- a/src/libpthread.c +++ b/src/libpthread.c @@ -214,7 +214,7 @@ bionic_pthread_getattr_np(bionic_pthread_t thread, bionic_attr_t *attr) assert(thread && attr); *attr = (bionic_attr_t){0}; attr->glibc = mmap(NULL, sizeof(pthread_attr_t), PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_SHARED, -1, 0); - return pthread_getattr_np((pthread_t*)thread, attr->glibc); + return pthread_getattr_np((pthread_t)thread, attr->glibc); } int |