aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/ofed/infiniband-diags/(public-mirror)
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2025-11-02 13:51:42 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2025-11-02 13:51:42 +0000
commita38c2f99f81c2fc35c8ca209931c1c46e3e81023 (patch)
tree46fc1e8f64198c9eee9673716dc5d6e693cdc1fe /usr.bin/ofed/infiniband-diags/(public-mirror)
parent92a533ed1d3c81a772815f90cc9aff9237a4429c (diff)
tzcode: Fix early tz change detectionHEADmain
Assume tzdata is not fresh if last_checked is zero, as comparing the current time to last_checked less than __tz_change_interval after boot may produce a false negative. While here, invert the return value from tzdata_is_fresh() to better match its new name (it was previously called recheck_tzdata(), so zero for fresh and non-zero for stale made sense, but it doesn't now). PR: 269207 MFC after: 3 days Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D53502
Diffstat (limited to 'usr.bin/ofed/infiniband-diags/(public-mirror)')
0 files changed, 0 insertions, 0 deletions