Date: Sat, 22 May 2021 18:38:25 GMT From: Mateusz Guzik <mjg@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 8bb6b6a46147 - stable/13 - zfs: change format string in zio_fini to get rid of the cast Message-ID: <202105221838.14MIcPNd020112@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=8bb6b6a46147375486d888f3e460b0aaa5c203b5 commit 8bb6b6a46147375486d888f3e460b0aaa5c203b5 Author: Mateusz Guzik <mjg@FreeBSD.org> AuthorDate: 2021-04-10 19:12:00 +0000 Commit: Mateusz Guzik <mjg@FreeBSD.org> CommitDate: 2021-05-22 18:37:19 +0000 zfs: change format string in zio_fini to get rid of the cast (cherry picked from commit a7fbfdee732bd8728d0e642016bf8b6548cfa1bb) --- 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 b5ffe9c294df..26e40716710e 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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105221838.14MIcPNd020112>