Fix compilation error on some arches after r336761 & r336781.
Another cast for printing an intmax_t was needed in a kqueue test for some arches. Pointy-hat: me (twice) MFC after: 1 week X-MFC-with: r336761, r336781 Sponsored by: Dell EMC
This commit is contained in:
parent
500d1d31a2
commit
c6bcad7c68
@ -239,7 +239,7 @@ test_abstime(void)
|
|||||||
kev.fflags = 0;
|
kev.fflags = 0;
|
||||||
kevent_cmp(&kev, kevent_get(kqfd));
|
kevent_cmp(&kev, kevent_get(kqfd));
|
||||||
if (time(NULL) < when + timeout)
|
if (time(NULL) < when + timeout)
|
||||||
err(1, "too early %jd %jd", time(NULL), (intmax_t)(when + timeout));
|
err(1, "too early %jd %jd", (intmax_t)time(NULL), (intmax_t)(when + timeout));
|
||||||
|
|
||||||
/* Check if the event occurs again */
|
/* Check if the event occurs again */
|
||||||
sleep(3);
|
sleep(3);
|
||||||
|
Loading…
Reference in New Issue
Block a user