aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads/errno.c
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/errno.c')
-rw-r--r--linuxthreads/errno.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linuxthreads/errno.c b/linuxthreads/errno.c
index 3619aa87..7464748 100644
--- a/linuxthreads/errno.c
+++ b/linuxthreads/errno.c
@@ -22,11 +22,11 @@
int * __errno_location()
{
pthread_descr self = thread_self();
- return self->p_errnop;
+ return THREAD_GETMEM (self, p_errnop);
}
int * __h_errno_location()
{
pthread_descr self = thread_self();
- return self->p_h_errnop;
+ return THREAD_GETMEM (self, p_h_errnop);
}