Merge pull request #348 from vcunat/p/32bit-formt
init: Fix Wformat on 32-bit platforms
This commit is contained in:
+1
-1
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user