summaryrefslogtreecommitdiffstats
path: root/lib/libkse/thread/thr_seterrno.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libkse/thread/thr_seterrno.c')
-rw-r--r--lib/libkse/thread/thr_seterrno.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libkse/thread/thr_seterrno.c b/lib/libkse/thread/thr_seterrno.c
index 4f585ac..245d43f 100644
--- a/lib/libkse/thread/thr_seterrno.c
+++ b/lib/libkse/thread/thr_seterrno.c
@@ -47,7 +47,7 @@ void
_thread_seterrno(pthread_t thread, int error)
{
/* Check for the initial thread: */
- if (thread == _thread_initial)
+ if (thread == _thr_initial)
/* The initial thread always uses the global error variable: */
errno = error;
else
OpenPOWER on IntegriCloud