git: 0ced2aef0676 - main - Fix build after 128b9bf9
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 25 Apr 2022 11:45:37 UTC
The branch main has been updated by dchagin: URL: https://cgit.FreeBSD.org/src/commit/?id=0ced2aef06760bfc57248482045c997be718b207 commit 0ced2aef06760bfc57248482045c997be718b207 Author: Dmitry Chagin <dchagin@FreeBSD.org> AuthorDate: 2022-04-25 11:45:05 +0000 Commit: Dmitry Chagin <dchagin@FreeBSD.org> CommitDate: 2022-04-25 11:45:05 +0000 Fix build after 128b9bf9 MFC after: 2 weeks --- tests/sys/kern/sigwait.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/sys/kern/sigwait.c b/tests/sys/kern/sigwait.c index 0b6e078b6548..960a315cafce 100644 --- a/tests/sys/kern/sigwait.c +++ b/tests/sys/kern/sigwait.c @@ -141,8 +141,9 @@ test_sigtimedwait_timeout_eagain(time_t sec, bool zero_tmo) /* now >= ts */ ATF_REQUIRE(clock_gettime(CLOCK_REALTIME, &now) == 0); ATF_REQUIRE_MSG(timespeccmp(&now, &ts, >=) == true, - "timespeccmp: now { %ld.%ld } < ts { %ld.%ld }", - now.tv_sec, now.tv_nsec, ts.tv_sec, ts.tv_nsec); + "timespeccmp: now { %jd.%ld } < ts { %jd.%ld }", + (intmax_t)now.tv_sec, now.tv_nsec, + (intmax_t)ts.tv_sec, ts.tv_nsec); } ATF_TC(test_sigtimedwait_timeout_eagain0);