Formerly unix/sysv/sysv4/__sigact.c.~3~

This commit is contained in:
Brendan Kehoe 1994-02-22 01:47:51 +00:00
parent 5152366702
commit 781e3c5460

View File

@ -29,7 +29,8 @@ extern int __sigaction_syscall (int,
static void
trampoline (int sig, int code, struct sigcontext *context)
{
(*user_handlers[sig]) (sig, code, context);
(*(void (*) (int, int, struct sigcontext *)) user_handlers[sig])
(sig, code, context);
__context_syscall (1, context);
}