freebsd-nq/sys/boot/efi
Dimitry Andric 04a7769aa2 Fix printf format warning in zfs_module.c
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
2017-07-20 20:27:19 +00:00
..
boot1 Fix printf format warning in zfs_module.c 2017-07-20 20:27:19 +00:00
fdt Do not use -msoft-float with intention of disabling FP on aarch64 2017-04-07 22:58:25 +00:00
include Make structure padding explicit in EFI_MEMORY_DESCRIPTOR 2017-06-22 14:30:09 +00:00
libefi Integer underflow in efipart_realstrategy when I/O starts after end of disk 2017-07-01 20:25:22 +00:00
loader Link EFI/uboot loaders with -znotext 2017-07-01 18:48:15 +00:00
Makefile Fix typo in the COMPILER_VERSION check 2016-10-22 20:00:39 +00:00
Makefile.inc Do not use -msoft-float with intention of disabling FP on aarch64 2017-04-07 22:58:25 +00:00