04a7769aa2
Clang 5.0.0 got better warnings about print format strings using %zd, and this leads to the following -Werror warning on e.g. arm: sys/boot/efi/boot1/zfs_module.c:186:18: error: format specifies type 'ssize_t' (aka 'int') but the argument has type 'off_t' (aka 'long long') [-Werror,-Wformat] "(%lu)\n", st.st_size, spa->spa_name, filepath, EFI_ERROR_CODE(status)); ^~~~~~~~~~ Fix this by casting off_t arguments to intmax_t, and using %jd instead. Reviewed by: tsoome MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D11678 |
||
---|---|---|
.. | ||
boot1.c | ||
boot_module.h | ||
fat-amd64.tmpl.bz2.uu | ||
fat-arm64.tmpl.bz2.uu | ||
fat-arm.tmpl.bz2.uu | ||
fat-i386.tmpl.bz2.uu | ||
generate-fat.sh | ||
Makefile | ||
Makefile.depend | ||
Makefile.fat | ||
ufs_module.c | ||
zfs_module.c |