diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/x86_64/timer_settime.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/x86_64/timer_settime.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sysdeps/unix/sysv/linux/x86_64/timer_settime.c b/sysdeps/unix/sysv/linux/x86_64/timer_settime.c index 7af417459e..0636f7316d 100644 --- a/sysdeps/unix/sysv/linux/x86_64/timer_settime.c +++ b/sysdeps/unix/sysv/linux/x86_64/timer_settime.c @@ -25,10 +25,9 @@ int __timer_settime_new (timer_t timerid, int flags, const struct itimerspec *value, struct itimerspec *ovalue) { - struct timer *kt = (struct timer *) timerid; + kernel_timer_t ktimerid = timerid_to_kernel_timer (timerid); - return INLINE_SYSCALL_CALL (timer_settime, kt->ktimerid, flags, value, - ovalue); + return INLINE_SYSCALL_CALL (timer_settime, ktimerid, flags, value, ovalue); } versioned_symbol (librt, __timer_settime_new, timer_settime, GLIBC_2_3_3); |