mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
storage/rbd: Use correct printf-modifier for uint64
%zu is for size_t variables, not uint64 ones. This causes a warning when building on a 32 bit linux.
This commit is contained in:
parent
ee70fe7e14
commit
7114c5ff25
@ -334,7 +334,7 @@ virStorageBackendRBDSetAllocation(virStorageVolDefPtr vol,
|
|||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
|
|
||||||
VIR_DEBUG("Found %zu bytes allocated for RBD image %s",
|
VIR_DEBUG("Found %llu bytes allocated for RBD image %s",
|
||||||
allocation, vol->name);
|
allocation, vol->name);
|
||||||
|
|
||||||
vol->target.allocation = allocation;
|
vol->target.allocation = allocation;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user