1
0
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:
Christophe Fergeau 2016-03-14 11:41:05 +01:00 committed by Cole Robinson
parent ee70fe7e14
commit 7114c5ff25

View File

@ -334,7 +334,7 @@ virStorageBackendRBDSetAllocation(virStorageVolDefPtr vol,
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);
vol->target.allocation = allocation;