summaryrefslogtreecommitdiff
path: root/lib/libpthread/thread/thr_sigaction.c
diff options
context:
space:
mode:
authorJulian Elischer <julian@FreeBSD.org>1997-02-05 23:26:09 +0000
committerJulian Elischer <julian@FreeBSD.org>1997-02-05 23:26:09 +0000
commitc840cec7c5df4547d37d9ca025553099b834c1aa (patch)
treeb2e6d3017e236268263978b585f2150cd10b1689 /lib/libpthread/thread/thr_sigaction.c
parent3b576b3e5eac153732d10d222cc023a02adc3db7 (diff)
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_sigaction.c')
-rw-r--r--lib/libpthread/thread/thr_sigaction.c2
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 {
/*