projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix off-by-one error in sem_(timed)wait (using old sem value instead of new)
[musl]
/
src
/
thread
/
pthread_attr_getstacksize.c
diff --git
a/src/thread/pthread_attr_getstacksize.c
b/src/thread/pthread_attr_getstacksize.c
index
40bbf18
..
900dc9f
100644
(file)
--- a/
src/thread/pthread_attr_getstacksize.c
+++ b/
src/thread/pthread_attr_getstacksize.c
@@
-2,6
+2,6
@@
int pthread_attr_getstacksize(pthread_attr_t *a, size_t *size)
{
- *size = a->__stacksize + DEFAULT_STACK_SIZE;
+ *size = a->_
a
_stacksize + DEFAULT_STACK_SIZE;
return 0;
}