libthr: fix style in previous commit
I intended to add this to the previous commit. Reviewed by: kib MFC after: 3 days Sponsored by: Dell EMC
This commit is contained in:
parent
d25183e0a7
commit
01618b339f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=318953
@ -737,7 +737,7 @@ __thr_setcontext(const ucontext_t *ucp)
|
||||
return (-1);
|
||||
}
|
||||
if (!SIGISMEMBER(ucp->uc_sigmask, SIGCANCEL))
|
||||
return __sys_setcontext(ucp);
|
||||
return (__sys_setcontext(ucp));
|
||||
(void) memcpy(&uc, ucp, sizeof(uc));
|
||||
SIGDELSET(uc.uc_sigmask, SIGCANCEL);
|
||||
return (__sys_setcontext(&uc));
|
||||
|
Loading…
Reference in New Issue
Block a user