diff options
Diffstat (limited to 'lib/libpthread/thread/thr_sigaction.c')
| -rw-r--r-- | lib/libpthread/thread/thr_sigaction.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/lib/libpthread/thread/thr_sigaction.c b/lib/libpthread/thread/thr_sigaction.c index c7336677ff9c..dd084056366c 100644 --- a/lib/libpthread/thread/thr_sigaction.c +++ b/lib/libpthread/thread/thr_sigaction.c @@ -45,7 +45,7 @@ sigaction(int sig, const struct sigaction * act, struct sigaction * oact)  	/* Check if the signal number is out of range: */  	if (sig < 1 || sig > NSIG) {  		/* Return an invalid argument: */ -		_thread_seterrno(_thread_run, EINVAL); +		errno = EINVAL;  		ret = -1;  	} else {  		/* | 
