Skip to content

Commit

Permalink
Fix format specifier warnings
Browse files Browse the repository at this point in the history
Commit 5dbf6c5 did not address these format specifier warnings
since they were introduced by an unrelated commit which had not
been rebased on 5dbf6c5 when merged.  Fix them.

Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #12435
  • Loading branch information
behlendorf committed Jul 27, 2021
1 parent 4bd99c1 commit b72611f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions module/zfs/arc.c
Original file line number Diff line number Diff line change
Expand Up @@ -8354,8 +8354,8 @@ l2arc_write_size(l2arc_dev_t *dev)
"plus the overhead of log blocks (persistent L2ARC, "
"%llu bytes) exceeds the size of the cache device "
"(guid %llu), resetting them to the default (%d)",
l2arc_log_blk_overhead(size, dev),
dev->l2ad_vdev->vdev_guid, L2ARC_WRITE_SIZE);
(u_longlong_t)l2arc_log_blk_overhead(size, dev),
(u_longlong_t)dev->l2ad_vdev->vdev_guid, L2ARC_WRITE_SIZE);
size = l2arc_write_max = l2arc_write_boost = L2ARC_WRITE_SIZE;

if (arc_warm == B_FALSE)
Expand Down

0 comments on commit b72611f

Please sign in to comment.