system: pass right flag

This commit is contained in:
Wim Taymans 2019-06-04 17:43:52 +02:00
parent 81c7dd4433
commit f5192d533f

View file

@ -97,7 +97,7 @@ static int impl_timerfd_create(void *object, int clockid, int flags)
fl |= TFD_CLOEXEC;
if (flags & SPA_FD_NONBLOCK)
fl |= TFD_NONBLOCK;
return timerfd_create(clockid, flags);
return timerfd_create(clockid, fl);
}
static int impl_timerfd_settime(void *object,