From b72611f0f612bf9ffeda827ea0bdf4cc36d9c6e4 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Mon, 26 Jul 2021 20:22:27 -0700 Subject: [PATCH] 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 Reviewed-by: George Melikov Signed-off-by: Brian Behlendorf Closes #12435 --- module/zfs/arc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/zfs/arc.c b/module/zfs/arc.c index a320f35b05..8b8594bb4f 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)