From a31a4d2918c526bc7ea36f6ffee39e4a3a8237c9 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Tue, 10 Feb 2009 21:41:04 +1300 Subject: [PATCH] timer_create.2: Fix small bug in example Reported-by: Peter Zijlstra Signed-off-by: Michael Kerrisk --- man2/timer_create.2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man2/timer_create.2 b/man2/timer_create.2 index 92178e05d..a38464f45 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