From c92bfe37014877dae5115277f13b612bc7076433 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 3 Feb 2003 21:38:09 +0000 Subject: Oops. I'd left an extra invocation of sigaction in there... --- libc/sysdeps/linux/i386/sigaction.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'libc/sysdeps/linux/i386/sigaction.c') diff --git a/libc/sysdeps/linux/i386/sigaction.c b/libc/sysdeps/linux/i386/sigaction.c index c05950793..33c811e40 100644 --- a/libc/sysdeps/linux/i386/sigaction.c +++ b/libc/sysdeps/linux/i386/sigaction.c @@ -96,15 +96,13 @@ int __libc_sigaction (int sig, const struct sigaction *act, struct sigaction *oa kact.sa_flags = act->sa_flags | SA_RESTORER; kact.sa_restorer = &restore; } - result = __syscall_sigaction(sig, act ? __ptrvalue (&kact) : NULL, - oact ? __ptrvalue (&koact) : NULL); asm volatile ("pushl %%ebx\n" "movl %2, %%ebx\n" "int $0x80\n" "popl %%ebx" : "=a" (result) - : "0" (SYS_ify (sigaction)), "mr" (sig), + : "0" (__NR_sigaction), "mr" (sig), "c" (act ? __ptrvalue (&kact) : 0), "d" (oact ? __ptrvalue (&koact) : 0)); -- cgit v1.2.3