From 7f97ac0e4c191ac9baa979b26a5f87b231f505d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Thu, 21 Jan 2021 10:29:57 +0100 Subject: [PATCH] init: fix Wformat on 32-bit platforms --- lib/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/init.c b/lib/init.c index f2f6f05..ea8b84a 100644 --- a/lib/init.c +++ b/lib/init.c @@ -293,7 +293,7 @@ iscsi_create_context(const char *initiator_name) while (iscsi->smalloc_size < required) { iscsi->smalloc_size <<= 1; } - ISCSI_LOG(iscsi,5,"small allocation size is %lu byte", iscsi->smalloc_size); + ISCSI_LOG(iscsi,5,"small allocation size is %zu byte", iscsi->smalloc_size); ca = getenv("LIBISCSI_CACHE_ALLOCATIONS"); if (!ca || atoi(ca) != 0) {