Fix build after 128b9bf9

MFC after:	2 weeks
This commit is contained in:
Dmitry Chagin 2022-04-25 14:45:05 +03:00
parent b3e7f403a5
commit 0ced2aef06

View File

@ -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);