diff options
Diffstat (limited to 'lib/libkse/thread/thr_spec.c')
| -rw-r--r-- | lib/libkse/thread/thr_spec.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/lib/libkse/thread/thr_spec.c b/lib/libkse/thread/thr_spec.c index 4447a75942ab..8d06c52b8d98 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: */ | 
