mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
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
This commit is contained in:
@@ -347,7 +347,7 @@ spa_checkpoint_discard_thread_sync(void *arg, dmu_tx_t *tx)
|
||||
if (error != 0) {
|
||||
zfs_panic_recover("zfs: error %lld was returned "
|
||||
"while incrementally destroying the checkpoint "
|
||||
"space map of vdev %u\n",
|
||||
"space map of vdev %llu\n",
|
||||
(longlong_t)error, vd->vdev_id);
|
||||
}
|
||||
ASSERT0(words_after);
|
||||
|
||||
Reference in New Issue
Block a user