HomeFreeBSD

Fix usage of zed_log_msg() and zfs_panic_recover()

Description

Fix usage of zed_log_msg() and zfs_panic_recover()

Coverity complained about the format specifiers not matching variables.
In one case, the variable is a constant, so we fix it. In another, we
were missing an argument (about which coverity also complained).

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Signed-off-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
Closes #13888

Details

Provenance
Richard Yao <richard.yao@alumni.stonybrook.edu>Authored on Sep 20 2022, 12:32 AM
GitHub <noreply@github.com>Committed on Sep 20 2022, 12:32 AM
Parents
rG891ac937beb9: Linux: Fix use-after-free in zfsvfs_create()
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rGf272960d52bd: Fix usage of zed_log_msg() and zfs_panic_recover() (authored by Richard Yao <richard.yao@alumni.stonybrook.edu>).Sep 20 2022, 12:32 AM