diff options
Diffstat (limited to 'lib/libpthread/thread/thr_sigsuspend.c')
| -rw-r--r-- | lib/libpthread/thread/thr_sigsuspend.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/lib/libpthread/thread/thr_sigsuspend.c b/lib/libpthread/thread/thr_sigsuspend.c index a26b6b99bf4b..14cf74b31ece 100644 --- a/lib/libpthread/thread/thr_sigsuspend.c +++ b/lib/libpthread/thread/thr_sigsuspend.c @@ -57,7 +57,7 @@ sigsuspend(const sigset_t * set)  		_thread_run->sigmask = oset;  	} else {  		/* Return an invalid argument error: */ -		_thread_seterrno(_thread_run, EINVAL); +		errno = EINVAL;  	}  	/* Return the completion status: */ | 
