diff options
Diffstat (limited to 'sysdeps/pthread/timer_create.c')
-rw-r--r-- | sysdeps/pthread/timer_create.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/pthread/timer_create.c b/sysdeps/pthread/timer_create.c index 1c80e6162f..2381a60d6f 100644 --- a/sysdeps/pthread/timer_create.c +++ b/sysdeps/pthread/timer_create.c @@ -77,7 +77,7 @@ timer_create (clockid_t clock_id, struct sigevent *evp, timer_t *timerid) { newtimer->event.sigev_notify = SIGEV_SIGNAL; newtimer->event.sigev_signo = SIGALRM; - newtimer->event.sigev_value.sival_ptr = timer_ptr2id (newtimer); + newtimer->event.sigev_value.sival_ptr = newtimer; newtimer->event.sigev_notify_function = 0; } |