Tssk. Apparently Al hadn't checked commit
c52c2ddc1dfa ("alpha: switch
osf_sigprocmask() to use of sigprocmask()") at all. It doesn't compile.
Fixed as per suggestions from Michael Cree.
Reported-by: Michael Cree <mcree@orcon.net.nz>
Cc: Al Viro <viro@ftp.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
unsigned long res;
siginitset(&mask, newmask & ~_BLOCKABLE);
- res = siprocmask(how, &mask, &oldmask);
+ res = sigprocmask(how, &mask, &oldmask);
if (!res) {
force_successful_syscall_return();
- res = oldmask->sig[0];
+ res = oldmask.sig[0];
}
return res;
}