]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Merge commit 3fcd73747 from openzfs git (by Adrian Chadd):
authorRyan Libby <rlibby@FreeBSD.org>
Sun, 27 Dec 2020 22:33:13 +0000 (14:33 -0800)
committerRyan Libby <rlibby@FreeBSD.org>
Sun, 27 Dec 2020 22:33:13 +0000 (14:33 -0800)
commite67d933d9c068328781cce46df400fc8782e6365
tree3af7cd0fc83912d228ac88fe80790af75c24656e
parent913f2d2e0cd37b491deb691a84ad5c4e95ef0a24
Merge commit 3fcd73747 from openzfs git (by Adrian Chadd):

  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
sys/contrib/openzfs/include/os/freebsd/spl/sys/ccompile.h