git: a7fbfdee732b - main - zfs: change format string in zio_fini to get rid of the cast
Mateusz Guzik
mjg at FreeBSD.org
Sat Apr 10 20:35:03 UTC 2021
The branch main has been updated by mjg:
URL: https://cgit.FreeBSD.org/src/commit/?id=a7fbfdee732bd8728d0e642016bf8b6548cfa1bb
commit a7fbfdee732bd8728d0e642016bf8b6548cfa1bb
Author: Mateusz Guzik <mjg at FreeBSD.org>
AuthorDate: 2021-04-10 19:12:00 +0000
Commit: Mateusz Guzik <mjg at FreeBSD.org>
CommitDate: 2021-04-10 20:33:43 +0000
zfs: change format string in zio_fini to get rid of the cast
---
sys/contrib/openzfs/module/zfs/zio.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sys/contrib/openzfs/module/zfs/zio.c b/sys/contrib/openzfs/module/zfs/zio.c
index a7820e75670b..8b4a9a220c3d 100644
--- a/sys/contrib/openzfs/module/zfs/zio.c
+++ b/sys/contrib/openzfs/module/zfs/zio.c
@@ -293,9 +293,9 @@ zio_fini(void)
for (i = 0; i < n; i++) {
if (zio_buf_cache[i] != NULL)
- panic("zio_fini: zio_buf_cache[%d] != NULL", (int)i);
+ panic("zio_fini: zio_buf_cache[%zd] != NULL", i);
if (zio_data_buf_cache[i] != NULL)
- panic("zio_fini: zio_data_buf_cache[%d] != NULL", (int)i);
+ panic("zio_fini: zio_data_buf_cache[%zd] != NULL", i);
}
kmem_cache_destroy(zio_link_cache);
More information about the dev-commits-src-main
mailing list