diff options
author | Renato Botelho <renato@netgate.com> | 2015-08-17 16:33:08 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-08-17 16:33:08 -0300 |
commit | fa20d96d557409f7be9d8cf59cdd6d18285b76b1 (patch) | |
tree | 1beb5c97df17b0f25b537f039b675f7b4c47899c /lib/libthr/thread/thr_sig.c | |
parent | 6ee75bdd7bf7c20359dd6e38c243586cb062edea (diff) | |
parent | 47eb9e91e4cef40c34486f99c1fe7584fc41e91c (diff) | |
download | FreeBSD-src-fa20d96d557409f7be9d8cf59cdd6d18285b76b1.zip FreeBSD-src-fa20d96d557409f7be9d8cf59cdd6d18285b76b1.tar.gz |
Merge branch 'stable/10' into devel
Diffstat (limited to 'lib/libthr/thread/thr_sig.c')
-rw-r--r-- | lib/libthr/thread/thr_sig.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libthr/thread/thr_sig.c b/lib/libthr/thread/thr_sig.c index a6d021f..ebb6c58 100644 --- a/lib/libthr/thread/thr_sig.c +++ b/lib/libthr/thread/thr_sig.c @@ -30,6 +30,7 @@ #include <sys/param.h> #include <sys/types.h> #include <sys/signalvar.h> +#include <sys/syscall.h> #include <signal.h> #include <errno.h> #include <stdlib.h> @@ -257,7 +258,7 @@ handle_signal(struct sigaction *actp, int sig, siginfo_t *info, ucontext_t *ucp) /* reschedule cancellation */ check_cancel(curthread, &uc2); errno = err; - __sys_sigreturn(&uc2); + syscall(SYS_sigreturn, &uc2); } void |