diff options
Diffstat (limited to 'signal/sigaction.c')
-rw-r--r-- | signal/sigaction.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/signal/sigaction.c b/signal/sigaction.c index 3bfc179..8d9f755 100644 --- a/signal/sigaction.c +++ b/signal/sigaction.c @@ -17,7 +17,7 @@ #include <errno.h> #include <signal.h> - +#include <internal-signals.h> /* If ACT is not NULL, change the action for SIG to *ACT. If OACT is not NULL, put the old action for SIG in *OACT. */ @@ -30,10 +30,7 @@ __sigaction (int sig, const struct sigaction *act, struct sigaction *oact) return -1; } - __set_errno (ENOSYS); - return -1; + return __libc_sigaction (sig, act, oact); } libc_hidden_def (__sigaction) -stub_warning (sigaction) - weak_alias (__sigaction, sigaction) |