HomeFreeBSD

Enable compiler to typecheck logging

Description

Enable compiler to typecheck logging

Annotate spa logging declarations with printflike
Workaround gcc bug (non disable-able warning) by
replacing "" with " "

Reviewed-by: Matt Ahrens <matt@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Matt Macy <mmacy@FreeBSD.org>
Closes #9316

Details

Provenance
kmacyAuthored on Sep 12 2019, 8:28 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Sep 12 2019, 8:28 PM
Parents
rGd66620681d85: OpenZFS restructuring - move linux tracing code to platform directories
Branches
Unknown
Tags
Unknown

Event Timeline