summaryrefslogtreecommitdiff
path: root/errno.c
diff options
context:
space:
mode:
authorrpj <rpj>2007-11-22 14:14:57 +0000
committerrpj <rpj>2007-11-22 14:14:57 +0000
commit25ffdcfc06e8a84497fd7e80aa4cef111d7dad2d (patch)
treee1a03422251b1556d6770458edf71a5475f7cf36 /errno.c
parentb1dc8324d03053ffb427424c8de046863757d8ec (diff)
''
Diffstat (limited to 'errno.c')
-rw-r--r--errno.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/errno.c b/errno.c
index 1a7957c..78aa920 100644
--- a/errno.c
+++ b/errno.c
@@ -74,7 +74,7 @@ _errno (void)
pthread_t self;
int *result;
- if ((self = pthread_self ()) == NULL)
+ if ((self = pthread_self ()).p == NULL)
{
/*
* Yikes! unable to allocate a thread!