summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-02-03 21:38:09 +0000
committerEric Andersen <andersen@codepoet.org>2003-02-03 21:38:09 +0000
commitc92bfe37014877dae5115277f13b612bc7076433 (patch)
tree4ab2dc2b2309208fdaccbc8dc025f03262f5a14c /libc
parent8fba6d2060e0c57620f8915ff291aa6a0ce31ab2 (diff)
Oops. I'd left an extra invocation of sigaction in there...
Diffstat (limited to 'libc')
-rw-r--r--libc/sysdeps/linux/i386/sigaction.c4
1 files changed, 1 insertions, 3 deletions
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));