aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib/openzfs/man/man8/zfs-unmount.8
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@usta.de>2025-08-25 22:58:48 +0000
committerAlexander Ziaee <ziaee@FreeBSD.org>2025-08-25 23:02:27 +0000
commit93bc3d83a11a1dbebd264616d63af3dd32cc1c8c (patch)
tree36019c7cd933059c3e129b7c9fca2e813561ea3a /sys/contrib/openzfs/man/man8/zfs-unmount.8
parenta4d738d7830576e5a62317bb67cc2a949cc7ba5a (diff)
mandoc: Improve width calculation for GCC compatHEADmain
Avoid implicitly converting a potentially negative page offset to size_t and then back to int. While this was not a bug and the end result was portably correct, Alexander Ziaee@ privately reported to me that the GCC 14 in the FreeBSD Jenkins CI felt uneasy about it. For clarity and readability, rewrite the truncation statement to not mix signed and unsigned types, to not use explicit casts, and make handling of the lower and upper cutoff more similar to each other. Fixes: 6410c1b51637 (mandoc: vendor import of upstream at 2025-07-27) MFC after: 3 days Reported by: ivy Reviewed by: ivy Differential Revision: https://reviews.freebsd.org/D52127
Diffstat (limited to 'sys/contrib/openzfs/man/man8/zfs-unmount.8')
0 files changed, 0 insertions, 0 deletions