aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2009-02-10 21:41:04 +1300
committerMichael Kerrisk <mtk.manpages@gmail.com>2009-02-10 21:41:04 +1300
commita31a4d2918c526bc7ea36f6ffee39e4a3a8237c9 (patch)
tree2620168a5bc39dbc5f09eb1797e3b72e80c30e25
parent826ed36b7ed1a88448de3e3bedf199cf19e36e5f (diff)
downloadman-pages-a31a4d2918c526bc7ea36f6ffee39e4a3a8237c9.tar.gz
timer_create.2: Fix small bug in example
Reported-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/timer_create.22
1 files changed, 1 insertions, 1 deletions
diff --git a/man2/timer_create.2 b/man2/timer_create.2
index 92178e05d9..a38464f458 100644
--- a/man2/timer_create.2
+++ b/man2/timer_create.2
@@ -347,7 +347,7 @@ handler(int sig, siginfo_t *si, void *uc)
printf("Caught signal %d\\n", sig);
print_siginfo(si);
- signal(SIG, SIG_IGN);
+ signal(sig, SIG_IGN);
}
int