aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2021-07-26 20:22:27 -0700
committerBrian Behlendorf <[email protected]>2021-07-27 09:50:00 -0700
commitb72611f0f612bf9ffeda827ea0bdf4cc36d9c6e4 (patch)
tree08678d873d6b81268f042cbfa586136fdb845b88
parent4bd99c11d76bec08c951f3fc491a92e8e24de361 (diff)
Fix format specifier warnings
Commit 5dbf6c5a66d did not address these format specifier warnings since they were introduced by an unrelated commit which had not been rebased on 5dbf6c5a66d when merged. Fix them. Reviewed-by: Ryan Moeller <[email protected]> Reviewed-by: George Melikov <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #12435
-rw-r--r--module/zfs/arc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/zfs/arc.c b/module/zfs/arc.c
index a320f35b0..8b8594bb4 100644
--- a/module/zfs/arc.c
+++ b/module/zfs/arc.c
@@ -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)