提交 7114c5ff 编写于 作者: C Christophe Fergeau 提交者: Cole Robinson

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.
上级 ee70fe7e
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册