git: 99a4f33f2720 - stable/13 - Fix build after 128b9bf9

From: Dmitry Chagin <dchagin_at_FreeBSD.org>
Date: Fri, 17 Jun 2022 19:39:19 UTC
The branch stable/13 has been updated by dchagin:

URL: https://cgit.FreeBSD.org/src/commit/?id=99a4f33f2720c46fc2513f361c501e9dd67006ef

commit 99a4f33f2720c46fc2513f361c501e9dd67006ef
Author:     Dmitry Chagin <dchagin@FreeBSD.org>
AuthorDate: 2022-04-25 11:45:05 +0000
Commit:     Dmitry Chagin <dchagin@FreeBSD.org>
CommitDate: 2022-06-17 19:33:56 +0000

    Fix build after 128b9bf9
    
    MFC after:      2 weeks
    
    (cherry picked from commit 0ced2aef06760bfc57248482045c997be718b207)
---
 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);