summaryrefslogtreecommitdiffstats
path: root/lib/libkse/thread/thr_spec.c
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>1997-02-05 23:26:09 +0000
committerjulian <julian@FreeBSD.org>1997-02-05 23:26:09 +0000
commitc2f7c3e4893b6b5c4494d549b3645e06664bc1b1 (patch)
treeb2e6d3017e236268263978b585f2150cd10b1689 /lib/libkse/thread/thr_spec.c
parent321f03c8eddd8cf5aa81836ff1932a74156d30cb (diff)
downloadFreeBSD-src-c2f7c3e4893b6b5c4494d549b3645e06664bc1b1.zip
FreeBSD-src-c2f7c3e4893b6b5c4494d549b3645e06664bc1b1.tar.gz
Submitted by: John Birrell
uthreads update from the author.
Diffstat (limited to 'lib/libkse/thread/thr_spec.c')
-rw-r--r--lib/libkse/thread/thr_spec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libkse/thread/thr_spec.c b/lib/libkse/thread/thr_spec.c
index 4447a75..8d06c52 100644
--- a/lib/libkse/thread/thr_spec.c
+++ b/lib/libkse/thread/thr_spec.c
@@ -209,7 +209,7 @@ pthread_getspecific(pthread_key_t key)
/* Check for errors: */
if (pthread == NULL) {
/* Return an invalid argument error: */
- _thread_seterrno(_thread_run, EINVAL);
+ errno = EINVAL;
data = NULL;
}
/* Check if there is specific data: */
OpenPOWER on IntegriCloud