mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-19 15:33:56 +00:00
Fix compilation error on some arches after r336761.
A cast for printing an intmax_t was needed in a kqueue test for some arches. MFC after: 1 week X-MFC-with: r336761 Sponsored by: Dell EMC
This commit is contained in:
parent
2a00ef5c35
commit
b6429f4bff
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=336781
@ -239,7 +239,7 @@ test_abstime(void)
|
||||
kev.fflags = 0;
|
||||
kevent_cmp(&kev, kevent_get(kqfd));
|
||||
if (time(NULL) < when + timeout)
|
||||
err(1, "too early %jd %jd", time(NULL), when + timeout);
|
||||
err(1, "too early %jd %jd", time(NULL), (intmax_t)(when + timeout));
|
||||
|
||||
/* Check if the event occurs again */
|
||||
sleep(3);
|
||||
|
Loading…
Reference in New Issue
Block a user