sigsetmask.c was not processing the "mask" argument.
Change-Id: I79b898ea5b882e8c0564e25466e827a9bedda6e8 Author: yhe19 <yunan.he@intel.com> Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
This commit is contained in:
parent
abdffc4e23
commit
ff3129b0fe
@ -38,6 +38,8 @@ sigsetmask(int mask)
|
|||||||
sigset_t the_sigset;
|
sigset_t the_sigset;
|
||||||
} in, out;
|
} in, out;
|
||||||
|
|
||||||
|
in.the_mask = mask;
|
||||||
|
|
||||||
n = sigprocmask(SIG_SETMASK, &in.the_sigset, &out.the_sigset);
|
n = sigprocmask(SIG_SETMASK, &in.the_sigset, &out.the_sigset);
|
||||||
if (n)
|
if (n)
|
||||||
return n;
|
return n;
|
||||||
|
Loading…
Reference in New Issue
Block a user