about summary refs log tree commit diff
path: root/src/time/timer_create.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/time/timer_create.c')
-rw-r--r--src/time/timer_create.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/time/timer_create.c b/src/time/timer_create.c
index 593f73aa..f596b0fe 100644
--- a/src/time/timer_create.c
+++ b/src/time/timer_create.c
@@ -40,7 +40,7 @@ static void timer_handler(int sig, siginfo_t *si, void *ctx)
 	if (!setjmp(jb) && si->si_code == SI_TIMER) {
 		pthread_cleanup_push(cleanup_fromsig, jb);
 		notify(val);
-		pthread_cleanup_pop(0);
+		pthread_cleanup_pop(1);
 	}
 }