init: fix Wformat on 32-bit platforms

This commit is contained in:
Vladimír Čunát
2021-01-21 10:29:57 +01:00
parent a8fcd18850
commit 7f97ac0e4c
+1 -1
View File
@@ -293,7 +293,7 @@ iscsi_create_context(const char *initiator_name)
while (iscsi->smalloc_size < required) { while (iscsi->smalloc_size < required) {
iscsi->smalloc_size <<= 1; 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"); ca = getenv("LIBISCSI_CACHE_ALLOCATIONS");
if (!ca || atoi(ca) != 0) { if (!ca || atoi(ca) != 0) {