aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/timerfd_settime.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/timerfd_settime.c')
-rw-r--r--sysdeps/unix/sysv/linux/timerfd_settime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/timerfd_settime.c b/sysdeps/unix/sysv/linux/timerfd_settime.c
index 59282bf..c5f3f14 100644
--- a/sysdeps/unix/sysv/linux/timerfd_settime.c
+++ b/sysdeps/unix/sysv/linux/timerfd_settime.c
@@ -33,8 +33,8 @@ __timerfd_settime64 (int fd, int flags, const struct __itimerspec64 *value,
#ifdef __ASSUME_TIME64_SYSCALLS
return INLINE_SYSCALL_CALL (timerfd_settime64, fd, flags, value, ovalue);
#else
- bool need_time64 = !in_time_t_range (value->it_value.tv_sec)
- || !in_time_t_range (value->it_interval.tv_sec);
+ bool need_time64 = !in_int32_t_range (value->it_value.tv_sec)
+ || !in_int32_t_range (value->it_interval.tv_sec);
if (need_time64)
{
int r = INLINE_SYSCALL_CALL (timerfd_settime64, fd, flags, value,