mirror_zfs/include/os/freebsd
Adrian Chadd 3fcd737478 Fix compiling on FreeBSD + gcc - don't assume illmnos bits
This looks like it was once from the illumnos compat code.
FreeBSD doesn't have cmn_err as a compiler format attribute, so
it definitely errors out.

It doesn't show up on LLVM because it doesn't trigger at all.

Add in the format flags but keep them behind #if 0 for now;
there are too many format issues that trigger when one does
format checking in the shared code.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Signed-off-by: adrian chadd <adrian@freebsd.org>
Closes #11068
Closes #11069
2020-11-10 15:54:12 -08:00
..
linux FreeBSD: make adjustments for the standalone environment 2020-10-13 21:05:49 -07:00
spl Fix compiling on FreeBSD + gcc - don't assume illmnos bits 2020-11-10 15:54:12 -08:00
zfs FreeBSD: Move uio_prefaultpages def to uio.h 2020-11-10 10:58:59 -08:00
Makefile.am Add FreeBSD support to OpenZFS 2020-04-14 11:36:28 -07:00